Add templating capability for collection binder

Passed the model through so that users can submit templates to the collection binder instead of just simple html strings