SERVER-14668 Make Locker an interface

Turns the Locker class into an interface and changes most usages of
LockState to now be either accesses to this interface or to use the
default interface implementation.