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
Formatting
Removed functionality that gets rid of BOM from XML. Unsure of why it's needed at this point. The application does seem to work fine without using this
Merge pull request #146 from isuftin/GDP-845

Return Postgres to working state