Specify source/target language version explicitly and add required sections to pom.xml

This PR closes issue #4 and adds required sections to pom.xml in order to make artifact publishable to Maven Central