CDB-2891 Replaced manual fetches by Table.get_by_xxx
Merge branch 'CDB-2891' of https://github.com/CartoDB/cartodb into CDB-2891