added method to remove a category from the TodoList. We check if the
category is empty before doing so. If the category isn't empty we export
the tasks to the orphan category. If the category doesn't exist we throw
an error.