Implemented substate creation

An A2 substate can now be created by specifying the parent state as the
first the first initializer entry.

Added streamupload.eel and rtsubstate.eel tests.

FIXME: State destruction is not safe, as master states will automatically
destroy any substates, potentially leaving EEL with invalid substate
references!