Add Maven support

This adds maven support to the plugin, allowing it to be compiled using Maven.
The .gitignore is also tidied up a little.