Optimize set and map binding creation.

* Use a pre-sized map when resolving map value instances.
* Use a list of bindings rather than a set of bindings for passing along the collection of contributors to a set binding.