Capture namespaced events

Things like Bootstrap use namespaced events, e.g. `"click.modal.data-api"` which don't match `event === 'click'`.
Merge pull request #11 from wmadden/patch-1

Capture namespaced events