done edit action for categories
add destroy dependences behind group and category
add edit and delete actions to categories
fix categories_controller_test