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

Conflicts:
	Application.hs