amd + umd support

Hello!

This PR adds basic support for AMD and UMD that is already in video.js and missing in this plugin.
I've slightly updated jshint config file to pass tests.
You're almost right. If you're talking about AMD, module name is name of the file minus extension. So in case filename is `video.js` module name will be `video`. In case of CommonJS I'm not sure as not using it but I think logic is the same.