add cucumber and rspec files to test category controller's :new action.
add new test to test edit and create category feature.
fix the bug in creating and editing categories.