JS: pull out a static entrypoint for waiting in the Process-oriented models

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove indirect wrappers of EventManager functions in Entity, call it directly

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: rename scheduleProcess to scheduleProcessExternal

This reflects that it takes all locks required for external callers.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add static entrypoints for the Event scheduling methods

These are implicitly threadlocal, the External versions are provided for other
contexts.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Make windows visible from AWT Event Thread

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: ensure that each EventManager entrypoint checks for a conditional thread leak

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add an InterfaceEntity list input for Entities that implement a given interface

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: update version to 2014-36

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>