remove reference to application package
Emit toggle event when visibility of layer is changed
Merge pull request #5 from glazou/master

remove reference to application package & Emit toggle event when visibility of layer is changed