Fixes on QueriesController * Removes last semicolon before running a select query (crashes with it since   we're wrapping the query) * Fixes pagination
Fixes on QueriesController
* Removes last semicolon before running a select query (crashes with it since
  we're wrapping the query)
* Fixes pagination

future-analytics/cartodb,UCL-ShippingGroup/cartodb-1,bloomberg/cartodb,splashblot/dronedb,raquel-ucl/cartodb,codeandtheory/cartodb,CartoDB/cartodb,nyimbi/cartodb,DigitalCoder/cartodb,dbirchak/cartodb,nuxcode/cartodb,codeandtheory/cartodb,DigitalCoder/cartodb,nyimbi/cartodb,CartoDB/cartodb,dbirchak/cartodb,DigitalCoder/cartodb,nyimbi/cartodb,dbirchak/cartodb,raquel-ucl/cartodb,codeandtheory/cartodb,splashblot/dronedb,raquel-ucl/cartodb,DigitalCoder/cartodb,UCL-ShippingGroup/cartodb-1,bloomberg/cartodb,thorncp/cartodb,UCL-ShippingGroup/cartodb-1,raquel-ucl/cartodb,thorncp/cartodb,thorncp/cartodb,nuxcode/cartodb,nuxcode/cartodb,DigitalCoder/cartodb,splashblot/dronedb,UCL-ShippingGroup/cartodb-1,bloomberg/cartodb,CartoDB/cartodb,thorncp/cartodb,dbirchak/cartodb,future-analytics/cartodb,thorncp/cartodb,future-analytics/cartodb,nyimbi/cartodb,splashblot/dronedb,CartoDB/cartodb,codeandtheory/cartodb,nuxcode/cartodb,future-analytics/cartodb,codeandtheory/cartodb,splashblot/dronedb,CartoDB/cartodb,bloomberg/cartodb,bloomberg/cartodb,future-analytics/cartodb,UCL-ShippingGroup/cartodb-1,raquel-ucl/cartodb,dbirchak/cartodb,nyimbi/cartodb,nuxcode/cartodb