Added forTemplate function on Widget

This makes it easier to render widgets in templates. An argument gives the option to use the widget holder or not. By default, the holder is used.