Creates a Config that initializes the chainregistry struct in the lnd package. Also moves all of chainparams.go to the chainreg package.
Moves chainCode from the lnd package to the chainreg package, where it is exported and can be used by other packages.