added mechanism to force write locks #1132

fixes #1132
Merge pull request #1134 from Tokutek/force-write-lock

add option to make write lock requests interrupt other operations

fixes #1132