SERVER-16096: Add test case for locker perf
SERVER-16096: Use explicit masking in ResourceId instead of union/bitfields

Also pass ResourceId by value instead of by reference and use static const for
_numLockBuckets to avoid division.