ERB templates for Rails 3 1

I have applied the erb templates feature to the 3.1 branch. The same as in https://github.com/keram/refinerycms-snippets/pull/9

I have tested it against the last code in the master branch of the Refinery repository.