Color coding support added

I added support for what I call "flowstate". This allows the individual elements to be rendered based on an optional flowstate. A flowstate is defined using a pipe symbol after the label. E.g.

op1=>operation: My Operation|past

When looking for rendering instruction my modification first looks for the flowstate, then for the element type and finally for the default. Element type lookup and default were in place already. 

The lookup is in a single functions, so an extension for element per flowstate should be easy to implement. The sample reflects the new capabilities. The sample loads Rafael and jQuery from local (worked in a plane on that)