[TIMOB-16658] Added invokeAsync() and invokeStaticAsync() support. Fixed a bunch of other small bugs.
[TIMOB-16658] Undo accidental scons hack.
Merge pull request #5501 from cb1kenobi/timob-16658

[TIMOB-16658] Added invokeAsync() and invokeStaticAsync() support.