Add AGPL 3.0 license and license headers

add to all files, Fixes #2 and #11