Added unit tests

- Added unit tests for existing code
- Fixed test coverage, now you can do `grunt coverage` to check the test coverage
- updated libraries to newest version and updated some small things in the view

_videojs is very hard to test inside the directive, I will try to find a better solution to test it_