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

Conflicts:
	PROJECTNAME.cabal
	tests/TestImport.hs
Also enure tests/HomeTest.hs unchanged