Fix integer field validation for the MongoEngine backend

WTForms has a weird way of validating an integer field (https://bitbucket.org/simplecodes/wtforms/issue/94/integerfield-unexpected-behavior-when). This fix makes sure that 0 is a valid value.

See the test case for more details.