BlockchainDB generic functions fleshed out

Added concrete implementations of certain BlockchainDB functions as well
as private virtual functions that they call out to.  This should help to
standardize implementation of subclasses.