Added .gitignore.

Added .gitignore to ignore target directory.
Added pom.xml file.

Added pom.xml file to allow project to be built with Maven.
Fixed pom.xml

Removed maven-remote-resources plugin and added maven-jar plugin. The
maven-jar plugin is configured to build a classes jar file to be
imported in Netbeans to allow for propper auto-completion as well as
removing unknown-class errors.