Removed some deprecated and internal api usages, updated project to Java 8.
Added maven build support
Fix netbeans build.
Updated readme and maven project