Fixed InsertText

A bit of cleanup to widget mapping and generalized how styles are applied to widgets.
Subtitle fixes

Clear subtitles on end (in case there is no final timeupdate, or if last update isn't past the last subtitle).
Clear subtitles when video moves past its end range.

Replace some $ with jQuery.
Support for Preview's previewText && previewTextMode
Refactored Tween to its own file.
Added a comment
Fixed an enum
Fixed font size application.
updated travis build
Setup Karma/Jasmine for tests.

Fixed some test issues in PhantomJS.
Fixed a few cases where subtitles were using seconds
Attempt to get unit tests run in CI
Added missing node dependencies.
Fixed travis unit test command.
Added CI build status to readme.
Class.register automatically adds to the namespace.
fixes
fixed unit tests
Implemented preview text animation
Merge pull request #46 from dreisch/prevew_animate

Implemented preview text animation
global maxlinks
Merge pull request #47 from dreisch/global_maxlinks

global maxlinks