Enhance logging

Improve (unify) the logging subsystem for commander.
Add better log formatting (when using the Ruby Logger).

Also riding on this patch, are some misc. enhancements
- error classes