* added hls.js definition
* changed to new tslint format
* fixing lint errors
* changed definition structure based on PR comment
* added module library support
* merged upstream and added tests to more reflect samples in project page
* fixed lint errors
* removed global namespace