Read mechanism file with absolute path closes #20
Use path_resource to get path within temporary directory created by PyInstaller,
use os.path.realpath to resolve any symbolic links.
pep8 cleanup