added javadoc and thus preparing for releasing on maven central
switched to APACHE 2.0 license
added all relevant POM settings for releasing to maven central