Fix compatibility with Rails < 3.2.0 & remove monkey patch

Problem: Rails < 3.2.0 has no ```ActionView::Template#encode!``` method
  - Exception ```Undefined method `encode!' for ActionView::Template``` with Rails < 3.2.0 fixed
  - Monkey patch for ActionView::Template replaced with normal one
  - Specs added