JS: Fixed double encoding bug for relative URIs in jar files

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>

Conflicts:
	src/main/java/com/sandwell/JavaSimulation/FileEntity.java

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove support for parallel event execution for now

This needs to be removed for now to simplify the control flow for doing a fully-reentrant
version that will allow the removal of the dedicated EventManager threads.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: move the root EventManager to Entity as Entity will eventually be the upper layer here

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove some output that was throwing an ErrorException anyway

The exception is good enough to report what is wrong.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove the single-event and all events at current time debug knobs

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: move the checking of stop conditions to the beginning of EventManager's run method

This will become an early-return in a re-entrant version.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: with the stop conditions checked early, no longer require a target tick

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: pull the check of empty event stack into the checkStopConditions() method

Also make sure threadWait is consistently called with the lockObject lock held
and remove the inner synchronized block.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: pull out a local variable when testing the next tick

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

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