XWIKI-1960: Add virtual mode support for postgresql using schemas
* Tested on PostGreSQL 8.4.12 with basic manual tests. Need to be tested more thoroughly on various versions and with more tests.