Added Maven parent and tidied git artefacts.

The project now has a Maven parent pom, and some of the class
artefacts have been removed.  Added a .gitignore to prevent
further artefacts coming in.

Used the Spring repo for the Java image IO stuff.