Updated the template to use underscore.js each method to print the model details of collection passed

Meddled around including Mustache as the templating framework. No able to figure out properly how to write separate JST template files using Mustache , which can be automatically included and compiled in the views. Backbone does it for ejs. The gem rails-backbone supports ejs JST templates files which can be written separately in a template folder. Ned to figure out how to do the same using Mustache. Meanwhile using ejs with underscore functions