run unit tests with sqlite
make models sqlite-friendly
fix query-related bugs in templates
remove redundant PK columns
be more thorough in creating fixtures
extract fixtures
Merge branch 'tests-sqlite'