Making/editing categories now uses the dynamic drop_downs for choosing the parent category.
Refactored this logic so it can be shared with the one on the issue form.