Add license info

* Use AGPL v3 license; a copy of the license is in LICENSE

* Attached the license notice to the start of each source (.java) file
(including the unit tests)