A backport of ChainMap from Python 3 to Python 2.