Uniformed implementation across C++03,C++11.

Added generic support for containers that look associative-y,
removed dependency on the explicit std associative containers.

Temporarily removed support for NO_TR1.