Trello #3: Changed format of AttributeWriter output

* Made output of PrintAttributeBreakdown more compact
  and aligned attribute values.
* Wrote tests for AttributeWriter, and made ConsoleWriter
  class to wrap Console for dependency injection.