Move default SQL quoting to base class.
Add a CLI formatter and handler.