Cast createCollection() options for MongoDB 2.6 compatibility

MongoDB 2.6 complains if the size/max options are non-numeric (e.g. null). See: doctrine/DoctrineMongoDBBundle#239
Merge pull request #179 from doctrine/1.1-createCollection-options

Cast createCollection() options for MongoDB 2.6 compatibility