DATAREST-93 - Removed compiler warnings.

Removed dependency on jMock.
DATAREST-93 - Pulled in current Gradle wrapper in 1.6.
DATAREST-93 - Build tweaks.

Upgraded to Spring 3.2.3.RELEASE, Spring HATEOAS 0.6.0.RELEASE and snapshot versions of Spring Data Commons, JPA, Mongo, and Neo4j. Fixed JUnit dependency. Finally removed JMock completely.
DATAREST-93 - Quite a lot of refactoring.

Integrated pagination resolving and closer integration of Spring Data Commons configuration.