Adds storage driver interface, tests, and three basic implementations

Re-opening of #630 with the new orphan next-generation branch.

@dmp42 @wking @bacongobbler @noxiouz 
How big do we expect directories to get? Do we have any reasonable bound on the number of directory entries?