upgrades to edit category

still needs work - needs an upgrade to elgg_view_form