DATAMONGO-828 - UpdateFirst throws OptimisticLockingFailureException when updating document that does not exist.

Added inspection of query dbo for check if the update should only apply to a given version. If so and no documents have been updated we still throw an OptimisticLockingException for all other cases like UpdateFirst zero affected documents is fine.

Original Pull Request: #121