Fix findbugs, pmd and javadoc problems.
Move to basepom standard-oss pom.
fix license headers