Merge pull request #24 from RichardWarburton/master

Adds another controller with lock contention and deadlock problems in
Merge pull request #25 from RichardWarburton/master

add a test user on startup
Merge pull request #26 from RichardWarburton/master

extract a common code module, implement an mxbean to control pausing, adds a test to make sure it pauses
Add test harness for creating deadlocks
set number of threads to num of cores
set host ant port via properties
fixes from review
Merge pull request #27 from johnoliver/master

Add test harness for creating deadlocks
allows the database to be switchable
adds in postgres config and deletes hibernate dialect nonsense