Feature/153 validate user inputs

Added forms for statistics, post controllers. Refactored pricing, post and statistics tabs. Fixed some bugs and problems with forms and form base class.