Issue 285 - foreach syntax

Closes #285 

Merge with: https://github.com/jbeard4/scxml-test-framework/pull/12

Implemented illegal foreach item expressions.
Implemented iterating only on arrays, raising error otherwise
Is this going to break on weird whitespace? E.g. the legally valid xml close tag "</foreach    >"