cleaned up database handlers and fixed model creation bugs
Merge branch 'master' of https://github.com/ese-unibe-ch/ese2013-team6
Merge pull request #44 from dvicini/master

clean up, mainly on database handlers and model creation/factories