SERVER-4362: Added support for xor, shr, shl and not for the $bit modifier.

I'm not quite sure whether "not" is done correctly, as it's of course a unary operator. Also, I could have some hints on where to add tests for this.