added some legacy functions & AMD build support
widget: finished WidgetView API compatibility with 0.7
builds.