Slightly impove extension mechanism

Environment variable `HOMESHICK_CUSTOM_LINK` can now be used to point to
a file that contains a function named `custom_link`