CXX-158 Add GridFS tests to increase coverage

Tests were written in a style that could most likely be dropped into the server code directly.

Note: The index that the current implementation of GridFS makes for the files collection is sub-optimal and should most likely be `{filename: 1, uploadDate: -1}` in a new implementation.