Sets errmode in our db instantiation code

@bruce-alderson 

Sets a PDO attribute in our DB wrapper instead of requiring the caller to set it. Related to https://github.com/Discovery-Software/app.rubrix.com/issues/2079