Static and analysis and build support with Maven

Hi Guys, I'm looking at using your library, while investigating I ran it through a static analyser and did some code cleanup.  

I also added build support with maven.  The build generates the jar file as well as jar files for source and javadoc (so I removed the javadoc folder).  

Running below will build the jars for you, the checkout can be imported directly into Eclipse, Intellij and Netbeans.

$ mvn clean install

Hopefully this is of use to you, thanks.
Damian.