SERVER-14668 Lock manager's LockResource should point to the LockHead

This is so we don't have to look up the lock head from the resource every
time.

Also moves the main locking functionality in the LockerImpl to a private
method, which will be used in more than one place after MMAP V1 flush lock
yielding is added.
SERVER-15525 Split sharding map/reduce tests