Fix report tests to utilise postgresql 3.0.0 syntax

The syntax for creating a database was still using PostgreSQL 2.5.x syntax
and causing our tests to fail.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #739 from kbarber/maint/master/adapt-for-puppetdb-300

Fix report tests to utilise postgresql 3.0.0 syntax