Fix deque serialization.

In C++03, deque's default constructor and resize function copies from a default-constructed object.
This causes bad behavior when the object has a (smart) pointer.
All initialized objects have pointers which have same values.
Fix list serialization.
Fix list serialization.
Suppress warnings.

Suppressed not -Wsome-specific-warning but -Wall due to mismatch of gcc's -W* and clang -W*.
Remove pragma for GCC 4.4.7.
Fix serialization test to test read serialization with uncleared containers.
Refactor serialization test.
Merge pull request #161 from gwtnb/fix-serialization

Fixed bad serialization in C++03.