Added ContextMap.copy().

This is analogous to dict.copy().
Merged master.