blockchain: Refactor best chain state init.
blockchain: Refactor best chain state init.

This refactors the best chain state and block index loading code into
separate functions so they are available to upcoming database update
code to build version 2 gcs filters.

jrick/dcrd,decred/dcrd,decred/dcrd,jrick/dcrd