Allow selection of the eRuby implementation for templating.

This presents an avenue for configuration of Erubis enhancers as well.  It
is an alternative to the following reverted pull request.
https://github.com/rails/rails/pull/7033