implemented structure template compilation for the inline widgets with timeout definition
* refactored empty structured template to be an object with isEmpty() method instead of ugly :empty string
* refactored #widget plugin handler and some structure-template methods to be Future-driven (not callback driven)
fixed accidentally found classical bug with async in the loop
Future:
* mapFail -> recover
* flatMapFail -> recoverWith
Old names are deprecated.
* improved names of several futures for debugging
* fixed bug with handling named widgets in refactored #widget dust plugin
implemented support for timeout-block for the inline (not-in-placeholder-context) widgets
fixed bug in widget's css initialization when there is a situation with simultaneous initialization of several widgets of the same type (class)
improved auto-naming of special-futures like map and flatMap-generated
refactored timeout-stub handling code:
* extracted some functions into separate helper class
* removed code duplication
* added comments
* changed default stub to the pretty animated loader gif
Merge branch 'master' into timeout
Merge branch 'master' into timeout
Added initial support for #widget in #deferred block
fixed jquery 2.0 compatibility issue. See http://jquery.com/upgrade-guide/1.9/#selector-property-on-jquery-objects
fixed timeout template compilation typo-bug
Merge branch 'widget-in-deferred'
removed ugly callback-like API support from the Widget::setParams() method
Fix loaded models scanning
fix services
Moment fix
Momentjs fix