appengine ndb - Accept 'format' in model_form

equivalent of commit https://github.com/wtforms/wtforms/commit/6364cf93b33f2123e7a3132e2eefbd90ba2c4bda for appengine ndb