Previously the functional test could only be run from the electrum root directory. This is a bit inconvenient if we want to run them e.g. from the ${PROJECT_ROOT}/build directory.
Also use os.path.join everywhere instead of concatening strings with unix-style path separators.