Move production to postgres.

Actually pushing this to live requires some extra effort, see the following wiki page:

This requires extra manual tests - I already caught one SQL syntax difference between sqlite and postgres, and postgres is *not* tested by the automated tests.

https://github.com/isenseDev/rSENSE/wiki/Migrate-sqlite-to-postgres

#746