Delete investor category

Fixes #289
Fixes #288

Note: This is laid on top of the deletecategory pull request. Either look at that one first or look at this one all at once and we'll scrap the other PR

-Improvements to delete category unit tests and frontend
-Makes it possible to delete an investor category