Add follow_symlinks param to file.directory state

Also fix a bug in ``salt.modules.file.check_perms()`` in which the function was not lchown-ing the symlink when ``follow_symlinks=False``.

Resolves #12209.