Apply LICENSE.txt to Java code headers

It is good practise to add a license header to each source file.