boost: split stream classes out of serialize.h

serialization now has no dependencies.
Merge pull request #5119

fa73619 boost: split stream classes out of serialize.h (Cory Fields)