Add color field to log categories

Moving this over from:

Basically, the idea is to auto-generate a unique color for log categories, or allow the user to assign a hex-code manually, like GitHub does for its issue labels:

Could be useful for things other than log categories, too.