Validate category name/email/note in admin.

This prevents the creation of a category with a blank name. Fixes #556.