ENYO-3181: added comments
ENYO-3181: renamed client in designerFrame (internal change)
ENYO-3181: added comments
ENYO-3181: removed test on error.val.popup (not used in designerFrame)
ENYO-3181: pass reloadNeeded in error message...

In fact reloadNeeded was always sent right before sending an error message.
This requirement is now sent as a part of the error message. This avoids
sending 2 messages in a row.
ENYO-3181: added comments and logs
ENYO-3181: Merge branch 'ENYO-3082' into ENYO-3181
ENYO-3181: Minor fix of call and return value of deviceChosen...

deviceChosen takes no parameters
ENYO-3632: ENYO-3658: extracted updateSourceCallback invocation
ENYO-3632: Merge branch 'ENYO-3181' into ENYO-3632

Conflicts:
	deimos/source/Deimos.js
	deimos/source/designer/Designer.js
	deimos/source/designer/designerFrame/designerFrame.js
ENYO-3658: put comments in the beginning of their block
ENYO-3632: updated comments
ENYO-3632: added state-machine.min.js in lib/foss ...

... state-machine must be loaded before ace to avoid collision
in function definition: state-machine test for a "define" function which
is defined by ace (but which is not the one the author of state-machine
was thinking of)
ENYO-3632: moved designerFrame load/reload into state machine
ENYO-3632: updated comments
ENYO-3632: aligned and removed duplicated event
ENYO-3632: fixed reload button
ENYO-3632: handled error with requestReload through fsm
ENYO-3632: fsm error handler now barfs on bad callbacks
ENYO-3632: Ready state call back is mandatory