Add functions for finding Deal and Task categories

I needed help getting setting the category for new Deals, so I created some functions to help my read existing categories. 

The new functions are read-only and include a test. The commit message shows example usage.

(There's also a typo fix in here.)