Implementing EventInputMapper
Working on EventInputMapper
Merge branch 'master' into timed-searches
Implemented evented rules
EventInputMapper tests pass
Properly mocked EventInputMapper spec
Specs for RuleInputMapper and TriggerInputMapper
Add SnuTimeSpec.js
Rename trigger reset() to cancel()
Cancel events when switching snus.
Move event cancelling into a separate method.
Added a test for SearchRule
Merge pull request #11 from dreisch/search_test

Added a test for SearchRule
Removed unnecessary try/catch
Merge pull request #12 from dreisch/there_is_no_try

Removed unnecessary try/catch
Bit of refac
-polyfill file
-removed unused code
Tests for Plat/Total time widgets
Merge pull request #13 from dreisch/time_tests

Time tests
Implement triggers using timeupdate instead
Use view instead of element.find to find video element from getMainMediaWidget(). timeupdate works with image media.