Added Leaflet style event emitter
Added mode listener. Fixes #6
Prevented mode from being defined as zero. Fixes #5
Added unsetMode method. Fixes #7
Added catch for not specifying options during instantiation. Fixes #4
Build