[CDB-3678] Creates api_hostname global variable
Merge pull request #197 from CartoDB/CDB-3678

[CDB-3678] Creates api_hostname global variable