Allow mocha opts to be passed in
Added beginnings of file metadata tests.
Added cmdline tool so that it's easier to pass in mocha opts.