Fixing related files buttons, removing .dist files from Backend.php
Removing the bad check for dist files as its no longer required
Removing .dist files from str_replace
Merge pull request #1702 from realitygaps/feature/fixing_related_files

Fixing related files on editfile pages