Fix category form errors

http://stackoverflow.com/questions/21294101/ruby-on-rails-dont-delete-and-update-elements/21317742

* Added `load_categories` before_action to get rid of error on category edit

* Added validation on Category name to show errors work

* Added error view code

* Fixed `<%=` (missing equal sign)