Drop the cloudfiles concept and back to MongoDB.

I've ported the old logic back into the tornado structure so we can push
forward with MongoDB as CloudFiles can't do any more than the basics for
us.