Adds some simple DB support. This is intended as a pre-authcore work commit.
For some definition of working, authcore is now working. But MAN is it ugly. Race conditions, bugs, unhandled exceptions and a few untested and probably not functional methods abound. Still DO NOT DEPLOY for the love of all that's good.
HMACs (sort of) work.
Switch asserts over to more descriptive / consistent exceptions.