Clean up handling of compressed files.

Add support for validating files based of sha1 hash.
Add support for multithreaded downloads.
Cleanup support for internal options

Move mojang launcher settings stuff to own library