Issue refs #1656: change database to postgresql, restore broken tests
Merge branch 'master' of github.com:olegsmith/apinet-server

Conflicts:
	AGO.Core/Notification/NotificationService.cs

Also fixed merge and notification issues