Renamed ScratchController.retrieve() to ScratchController.retrieveAll().
Created a new AbstractDataTester class that centralises all the database testing code.
Actually made the AbstractDataTester abstract.
Cleaned up the code in the AbstractDataTester a little.
Updated the UserTest class to extend the new AbstractDataTester.
Removed "NAME_" from the email test constant names.
Added the jayway dependency to the pom.xml file to allow JSON inspection with the Spring MVC Test framework.
 - Changed the Java servlet API for the tomcat version to get the Spring MVC test to work.
 - Added the hamcrest matchers as a dependency so they can be used in the Spring MVC tests.
Created a AbstractDataTester.USER_FOUR constant.
Created a User.toString() method.
Renamed the AbstractDataTester.LAST_NAME constant to LAST_NAME_VALUE.
Fixed the user tests, they were breaking because they relied on the database sequence being reset between tests which of course does not happen.
Added exception handling to the ScratchController.
Created a log4j.xml file for the tests to quieten the logging.
Updated the unknown user test names.
Created ScratchControllerTests.