Lock retry usleep requires milliseconds

Convert the milliseconds wait interval value to microseconds in the
files locking app
Merge pull request #1918 from owncloud/lock-convertmillistomicroseconds

Lock retry usleep requires milliseconds