Added gridfs support for mongodb. The datastore now transparently uses files if value exceed a certain size.