hostdb and contractor now save consensus updates correctly
Prior to this PR, the hostdb never saved anywhere at all, so all the persistence code was actually completely untouched in production.
The contractor would not save when it got new consensus updates, which means that if you never used it you would have to rescan the blockchain at startup every time.
Now fixed :)
As of this PR, starting siad on my machine takes 0.2 seconds, which is... amazingly refreshing. I believe everyone will really appreciate having responsive startup.