Fix user.run_query exception handler for PostgreSQL 9.3

Closes #299
Updated cartodb.js
Merge branch 'release/2.10.0' of github.com:CartoDB/cartodb into release/2.10.0
Merge branch 'master-pgerror' of github.com:strk/cartodb into release/2.10.0