Added licences to all *.java files. THe question is should we also do the core/importnant files in samles and docs; in particular the *.xsl files which can be seen as core code