Fixing warnings issued by PVS studio
Fixing things MSVC missed
Minor adjustments in the iostreams component to make GNU debug C++ mode happy
Fixing gcc compilation error
Changing iostream buffer to use std::vector instead of std::deque.

This fixes an error reported by the gnu C++ standard library debug mode.
Attempt to fix #1065: AGAS cache isn't used/populated on worker localities

Disable a check so that local ids are inserted into the caches.
Fixing #1065: AGAS cache isn't used/populated on worker localities
Exporting new serialization functions, making code formatting slightly more sane :-P
Adding some missing includes
Adding a missing HPX_EXPORT