Stop addSubstitutions(key,array) from clobbering substitutions

Passing an array value to addSubstitutions was clobbering all substitutions.
Merge pull request #6 from rpaterson/addSubstitution-array

Stop addSubstitutions(key,array) from clobbering substitutions