output.js: add AMD compatibility
output.js: add AMD compatibility

If the code is loaded via AMD/requirejs:
- we call define() instead of exporting 'lime' globally
- we disable AMD while the embedded libraries are loading, so that they
  register themselves in the global scope.

openfl/lime,player-03/lime,player-03/lime,openfl/lime,openfl/lime,openfl/lime,openfl/lime,player-03/lime,player-03/lime,player-03/lime,openfl/lime,player-03/lime,openfl/lime,player-03/lime