Split code into modules for core, mysql and psql
Removed dependency from spring framework
Renamed common package to util as it makes more sense
Changed permissions of psql setup scripts in order to make them executable
Fixing event poller flickery test
Fixed create-test-user script so that it doesnt fail if executed twice in a row