Categorized Logging.

Logging categories and category appenders. LOG_CDEBUG, LOG_CWARNING, ... marcos.
Creation local logger instances with a specific category inside your custom class using LOG_CATEGORY and
LOG_GLOBAL_CATEGORY macros.
Add %{category} chunk to logging message pattern.
Add documentation notes for categorized logging methods and macros.

Fix some variable and method names.