model validation for the mongodb connector
adds mongodb's bsonType validators
coerces mongodb's bsonType validators
get ppi from jpg, jfif or png