Fix tests subdirectory for ResourceT in Persistent types, and add example.
Merge branch 'postgres' into sqlite

Conflicts:
	PROJECTNAME.cabal