JS: remove the isClosedAtTime method, only isClosed() should be exposed

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: new Class ClonesOfIterable

Signed-off-by: Jennifer Chui <jennifer.chui@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Replaces for loop calls to Entity.getClonesOf to Entity.getClonesOfIterator

Signed-off-by: Jennifer Chui <jennifer.chui@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Replace calls to Entity.getInstancesOf with Entity.getInstanceIterator

Signed-off-by: Jennifer Chui <jennifer.chui@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Allow KeyInputs to accept UnitType

Signed-off-by: Stephen Wong <stephen.wong@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Consider lookAhead when determining the closed time from a given time in a TimeSeriesThreshold

Signed-off-by: Stephen Wong <stephen.wong@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: update version to 2014-06

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