Added postgreSQL support.

Backticks are unsupported in postgres, which broke the bulk_update.... method.  

This checks for a postgres adapter and adjusts the query accordingly.