UnitTestHelper: Fix some SQL syntax errors which prevented inserts to oauth tables via the UnitTestHelper from working. Enabled exceptions for PDO so that problematic SQL in the UnitTestHelper will not fail silently.
test/ui/BadgeDaoTest: minor update, focusing on UserDaoTest and subsequently others for now as logic that will be in other Dao tests will be reused in BadgeDaoTest
test/ui/UserDaoTest: initial commit of file, some working tests but will need to revise some details within