move deprecated topology classes to a separate header
Moved the deprecated Topology classes to a separate header. The header is included in types.hh for the current release with disabled deprecation warnings but after the 2.8 release the header 'deprecated_topology.hh' will need to be included which contains deprecation warnings.