Update API to reflect recent OpenFL refactoring

I was unable to use the extension due to nme.Loader (native.Loader on some targets) not existing. The API has changed as per this issue:

https://github.com/openfl/openfl-nme-compatibility/issues/2