Initialize layerGroups member to an empty array

Otherwise, a call to renderGroups fails when it tries
to iterate on an undefined object
Merge pull request #896 from mapbox/initialize-layergroups

Initialize layerGroups member to an empty array