Database: row normalization is required for SQLite3 too (it's not needed for table selects, but is needed for view selects) [Closes #1054]
magic service accessors replaced with getService()
tests: simplified database tests, added requote()
tests: some test renamed