Restore video tag attributes on tech change

New attempt to fix this issue #1367 related to the webkit-playsinline attribute missing.
I believe Object.keys will error in ie8. You can use [vjs.obj.each](https://github.com/videojs/video.js/blob/master/src/js/lib.js#L83) instead.