Compile fixes
Merge pull request #75 from Greg209/master

Event Dispatcher changes to be consistent with openfl-native
Update to 1.2.2
Added position reset in ByteArray.clear()

As described in https://github.com/openfl/openfl-html5-dom/issues/56
Merge pull request #78 from YellowAfterlife/patch-1

Added position reset in ByteArray.clear()