Removed dead code and improved formatting.
Added caching to ViewFactoryProperty anonymous DetailView creation.
Removed stale code from DemoCat.