add support for view template cache digestion via Rails 4

As discussed in https://github.com/indirect/haml-rails/issues/50 this PR adds support for Haml template digestion in Rails 4 and Rails 3.x with DHH's `cache_digests` gem.