Adding facility to count system function calls in state object
Adding facility to count system function calls in state object

Also allowing pickling of non-function state cached values which saves a 
few cache misses after transferring initial chain states to new 
processes when sampling parallel chains.

matt-graham/hmc