Fix comment toolbar not working on forms added after the page loaded

Replaced the per-button bind with event delegation.
Re-implemented user defined macros with multiple categories.

Added fields to the preferences for the category and and a currently
unused shortcut key field.
Categoy dropdowns other than the default will appear on their own line.