fixed layer type for cartodb layers CDB-363
map view binds all events for torque layers CDB-363