add createWidget function
invert first two arguments of get dependency so we can default the package argument
use x to refer to widget instance data
update widget methods to pass only the x value from the widget definition
namespace qualify sizingPolicy function call
Merge pull request #7 from ramnathv/feature/create-widget

add createWidget function