CDB-2837 Merged Luisico changes
Merge pull request #413 from CartoDB/CDB-2837

CDB-2837 Merged Luisico changes
allow create function, vacuum and other sql queries
Merge pull request #414 from CartoDB/CDB-2601

allow create function, vacuum and other sql queries
Merge branch 'master' into CDB-1846

* master:
  allow create function, vacuum and other sql queries
  CDB-2837 Merged Luisico changes
Orientation fix