sqlite3 and tests

Switched to sqlite for ease of use. Also generated a shell for the
testing suite.
erb -> haml, pg -> sqlite3