optimize how expandInstanceForEnv() merges datastructures
Merge pull request #1120 from drewfish/perf3

optimize how expandInstanceForEnv() merges datastructures
release 0.6.0 (based on 0.5.9pr1-103-g74fdaa2)