Clean-up: Fixed licence headers,
added automatic license header formatting on build,
fixed JavaDoc warnings
Use COPYING.txt instead of LICENSE.txt