Adds DB-sensitive tablename escape for backup task.

By default, table names will be surrounded by backticks. If the
ActiveRecord connection is 'postgresql', the backticks will
be removed. 

Fixes issue 2437 https://github.com/gitlabhq/gitlabhq/pull/2437

This should be safe to backport.