Adds template dependencies rake task from cache_digests gem.

This adds the rake tasks `cache_digests:dependencies` and `cache_digests:nested_dependencies` from `cache_digests` gem.

Like proposed in rails/cache_digests/issues/58