fixes a bug that prevented showing torque when using the createLayer method
adds torque layer spec
fixes array check
Merge pull request #136 from CartoDB/CDB-4271

fixes a bug that prevented showing torque when using the createLayer method