add the apm stuff to the build
changed the mbean names so that things appear nicer in hawtio JMX console (e.g. tables automatically render all method or thread metrics
reformat to 4 spaces like the other java code
refactor unregister code a little to avoid potential exceptions if things never got registered
reformat to 4 spaces like the other java code
polish the jmx registration code a little to avoid possible duplicates etc
enable the metrics by default in the test app
polish logging
polish readme
tidy imports