Wholesale rewrite of nbd_mcmc_pysb as a class

Allows serialization of likelihood, prior, step, etc. functions.