Replace removed Entity::ctype by Entity::Geometry::ctype.
Use unique_ptr instead of shared_ptr.

This fixes FS#1398 for dune-grid-howto.