Add unit tests to SQL exception mappers in dropwizard-jdbi

Some unit tests for JDBI exception mappers. 
They check that we log correct things when an exception from JDBI ocurrs.