Add support for symlinks in link script

`.mongorc.js` was changed from a file to a symlink in ad2ed34. This failed the `os.path.isfile()` check in the `link` script. By adding a check for `os.path.islink()` as well, the file can be linked in the home directory.