Port merged mining support.
Restore Litecoin's implementation of default paths.

This lets the testnet functionality work again too.
Needed to remove this to build on Linux.