Do not run callbacks during rebuild_depth_cache!

I have had problems with rebuild_depth_cache! when callbacks were invoked, often causing things to be updated that should not be. This change makes sure this method neither invokes callbacks nor updates ActiveRecord timestamps.