Allow usage of any ostream in Timer class

Class now contains a member called output, which specifies the stream to use.
This defaults to cout, but may be set with Timer::set_output().