Add GPL v2

Add GPL v2 in the headers of all .java files.