Fixed: Caching a recursive template 

(ex: an object with children that recursively renders it's children) would cause the template to include itself in it's own dependencies, creating an infinite loop and a 'stack level too deep' response.

For instance, a template like this (called 'test'):
object @user
cache @user
child kids: :kids do
    extends 'test'
 end

I spent a couple hours trying to write a failing test but cannot get the integration tests to work and perform_caching is false in the model tests.