Replace deprecated strstream class.

This commit implements the fixed_streambuf class as a replacement for
strstream. fixed_streambuf is a safe implementation around
basic_streambuf and provides the needed functionality while preserving
the performance strstream provides.
Merge pull request #19 from olajep/pr-replace-strstream

Replace deprecated class strstream.