JS: wrap the trace and verify options in accessor functions

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove the need for a root EventManager by holding it in GUIFrame only

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: ensure the start/resume state is consistent with EventManager

Use the event stop and start callback to drive the GUIFrame state, rather than
leaving points in time where this can be inconsistent.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add a Conditional class and add a helper method to replace the while()-loop pattern

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add a wrapper for the Conditonalhandle version of waitUntil

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove the old waitUntil APIs

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add a better way of evaluating conditionally scheduled events

Call the evaluate method directly rather than waking/linking all waiting Process
Threads in order.  Once evaluate returns true, we can directly schedule an event
at the current time.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Dividing expressions of the same unit type are now dimensionless

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: update version to 2014-34

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