Use proper logging function in Persistent
Merge branch 'postgres' into mongo

Conflicts:
	Application.hs