Added support for legacy_compatibility_mode flag in conf.ini file to disable view_related_records links in related list.