Refactors ExternalInterface
Merge branch 'nat' of github.com:mozilla/shumway into nat