removal of all layers now working
still firing events after layers/data collections are removed
firing event when all data collections are removed
added test for layer clearing (removeAll)
Merge pull request #418 from aodn/issue_378

Issue 378

Fixes #378, #403 (duplicate) and #420