initial draft of a flip flop block
renamed flipflop to toggle
log messages in json to stdout (console) like we do in the ui
Merge pull request #361 from jacqui/master

log messages in json
simplify simplify http://bp1.blogger.com/_FBipdrn_n3g/RmC5jV4yo7I/AAAAAAAAABM/qCpYu6hkTiE/s1600-h/calvin.jpg
Merge pull request #360 from mikedewar/flipflop

toggle