added support for output stream(cout<<) for compute::string

Please review.
Instead of including all of `<ostream>`, it's usually better to just include `<iosfwd>` which just contains forward-declarations for classes like `std::ostream`. This helps improve compile times.