Refactoring views to custom MVC structure (still in progress)

 - settings for editor appearance are moved to haml
 - panels (error, plain for form) are added
Refactoring views to custom MVC structure (seems better)

 - common functionality moved to widgets.Base
 * needs other inheritance, smth class-based and more flexible