Keep current versions of Gemfile
Fix "New Category" in Admin panel.
Basic tests for Edit/New category. Two bug fixes.
Move updating categories to its own method.