avoid race conditions before the layer is created CDB-363
don't allow more than one torque layer per visualization CDB-363
fixed default layer type CDB-363
save layers after including another one in order to save the order CDB-363
layer tests CDB-363
Merge branch 'feature/CDB-363' of github.com:CartoDB/cartodb into feature/CDB-363