Added function and LockCollection attribute to signal if MongoDB 2.6 is in use.