minor fixes to Stateful and _WidgetBase
Fix StarRating tests: use boilerplate.js, don't use dojo/ready etc.
StarRating.zeroAreaWidth must be a number, so parser understands its data type.