No longer restrict AVM2 to a subset of lib.d.ts
Fix some compiler errors.
Merge branch 'nat' of https://github.com/mozilla/shumway into nat