new cdb updated
added function to layers collection to get layer type count + tests
cdb updated
replaced layers function to know how many cartodb layers there were in a map view
fixes vizzuality/cartodb-management#2315 vizzuality/cartodb-management#2174
Merge branch 'develop' of github.com:CartoDB/cartodb20 into develop