[WiP] rewrite

New in the rewrite:

* Fast check sums (with ability to switch hashing algorithm)
* Custom HTTP headers/reduced redundancy
* Storage server for development
* Faster change detection
* Debug option
* Better documentation
* Faster startup
* Better error messages
* Command line flags for setting options
* Faster unpacking

Not all this is done yet.