Fix implementation of shallow copy on OptionValueContainer.
Review Request #3041 - Created Oct. 26, 2015 and submitted
- Adds a test to verify it. - Uses it instead of an unnecessary deepcopy. Those deepcopies were significant enough to show up in profiles.
CI passes: https://travis-ci.org/pantsbuild/pants/builds/87528183.