changed addLayer by addTo
Merge branch 'develop' of github.com:CartoDB/cartodb.js into develop