Fix digestion of templates with recursive dependencies

Computing the digest of a template that has recursive dependencies causes infinite recursion.

```erb
<%# In self.html.erb %>
<% render 'self' %>
```
BOOM!

Solution I used it to put a placeholder in the cache until the digest is computed.