Mavenize project

Mavenize project, update to Java 7, fix some JavaDoc issues.