Windows: Check for RO and Open Target in rename

During a file rename operation, check to see if the target file
has the DOS readonly attribute set or has a non-zero reference
count.  If yes, the request must be failed.  The error status
depends upon the state of the pending delete flag.  Either
STATUS_PENDING_DELETE or STATUS_ACCESS_DENIED.

Reviewed-on: http://gerrit.openafs.org/11506
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 243537f7071a108950d5442a4f9f7ab0747ca080)

Change-Id: Idc2b64bf82f35a75ebd6d91eece9f213338f1c58
Reviewed-on: http://gerrit.openafs.org/11518
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Windows: FileStandardInfo Link count

Instead of returning 1 in all cases the ObjectInformation.Links
value should be returned to the caller.

Reviewed-on: http://gerrit.openafs.org/11507
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 8da84729c8f1e849882aea7b1268c6ac49936f21)

Change-Id: Ic0714aaa119a9e930f84c606487b173306b1a3a9
Reviewed-on: http://gerrit.openafs.org/11519
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>