Java-like enumeration support in JavaScript.
Work in progress - function declarations

PENDING: Dictionary type, overrides.
IFile/IFilePath fixed incoherent method return val.
Working stub implementation.
Callback with id.
Remove duplicate error callbacks.
Duplicate onError removed.
Callback & Listener implementations.
Sort by method name.
Changed order.
Work in progress.
Simplify overloaded methods.
Work in progress.
Automatic callback & listener id.
DONE: Synchronous calls to platform.
Work in progress - handle Callback / Listener.