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

Conflicts:
	PROJECTNAME.cabal