Merge pull request #1 from goldfire/master

Howler 1.1.7
Merge pull request #2 from goldfire/master

sync'ed with remote master branch
fixed compatibility with CocoonJS (launcher v1.4.7)

- CocoonJS does not support the `loadedmetadata` event, but only
`canplaythrough` and `ended`
- `node.readyState` is undefined when using CocoonJS
- `newNode.error` is undefined when using CocoonJS

(@see https://github.com/melonjs/melonJS/issues/470)
fix issue when window is undefined. (server side require)
Reset inactive node's position before using it for new playback
Merge branch 'pr/140'
Small tweak for CocoonJS support
Merge branch 'pr/133'
Overhauled internal tracking and clearing of end timers
v1.1.19
Merge remote-tracking branch 'upstream/master'

Conflicts:
	howler.js