Fix Roundcube installation for PostgreSQL
Fix interval for PostgreSQL

PostgreSQL requires quoted interval.
Fix broken display of Contact view

occurs when user deletes all page splits
Fixes #2
Fix patch for PostgreSQL
Fix activity report for PostgreSQL

Add cast operator for postgre.
ERROR: UNION types character varying and integer cannot be matched.
Fix WhoIsOnline to not generate invalid insert

PHP don't care about errors, but still they may be logged in DB logs.