breakout basewidget and registry

make registry a singleton for use with views and widgets
move func to get child view and widgets to registry

changed Widget propagate function to work like Views
move basewidget back into widget.js
initialize global var in registry
use function closure instead of getInstance method
childWidgetsAndViews is now part of registry
asdynamicallypropagated no longer has an effect

because prototype.propagate is the same for views and widgets
test widget propagate
clean up: remove commented code
breakout basewidget and registry

make registry a singleton for use with views and widgets
move func to get child view and widgets to registry

changed Widget propagate function to work like Views
move basewidget back into widget.js
initialize global var in registry
use function closure instead of getInstance method
childWidgetsAndViews is now part of registry
asdynamicallypropagated no longer has an effect

because prototype.propagate is the same for views and widgets
test widget propagate
clean up: remove commented code
correct spelling
merge