changing the interface of Barrel to be more like a dict. Cannot inherit dict directly, because pickle does an instanceof check. Modified the base BrineFunction chain of brining/unbrining calls to be easier to override in subclasses.