providing two implementations ModernDbManager and SolidDbManager, one ca...

...n easily switch between using prepared statements and avoiding them (which may give a speed-up for old postgres versions) by selecting the proper db.manager in service.xml