Some optimizations to byte arrays, moved IDataInput and IDataOutput to AVM2, test cases.
Merge branch 'nat' of https://github.com/mozilla/shumway into nat