Added PostgreSQL to installation form.
Fixed all kinds of inconsistencies in query design.
Untested, but modified test config. Will test later.
Added PHPStorm IDE directory.
Changes to tests, and addition of SQL to support PostgreSQL.