added license headers, adjusted pom for sonatype deploying, test fixes due to new license headers