Implemeted v2 widget and widgetset endpoints. bugid:112503