Had to change some things in global widgets management and also in html code widget. Sorry for this ugly commit..
This commit adds functionality for creating widget of whatever type. Controller calls widget admin handler, which renders and handles input form.