Store images in MongoDB

This is not a blocking issue or anything, but having 6 digits of a base-10 number means that there's a 100% chance of key collision after a million distinct keys.

In the future, maybe we can look at hashing a UUID4 or something to cut down on collisions.