use standout output streams for output

changed command line class to hold pointer to standard output stream
  (removed command line destructor)
  (removed usage member, local usage variable sufficient)
changed tester class to use standard output stream for all output
used toStdString() temporarily until change from QString to std:string
used '\n' instead of std::endl (which also flushes output)