Fixed databasequeries.
Merge branch 'facelets' of https://github.com/chip2n/dat076-wannabe-blocket into facelets