DATAMONGO-941 - Add support for Update $min.

Moved construction of validators to KeywordFactory. Reduced nesting in Keyword validation.