Consolidated profile access code
Previously there were multiple ways in use of reading the profile location, which is misleading if there is an issue with the profile (which there is: https://forum.openmw.org/viewtopic.php?t=7930).
Also added a debug subcommand to the profile select tool try and make debugging this easier if the problem persists (and any future similar issues).