Return Postgres to working state

Fixes an issue that was caused upstream by changes to the way 52N-WPS stores its requests, results and responses. 

Also optimizes the unmarshaller for xml to speed up dashboard generation