Get rid of file mode

Standard mode now uses mmap.

Also taught indent about the uintX_t typedefs
Get build_epoch metadata key and test this
Move type declarations to where variables are used

Also fixed some bad var names and fixed misuse of va_start (that somehow still worked)
Use cmp_ok() instead of ok() where appropriate