Serialize function values in casper options

Serialize function and function tuple values in `options.casper` recursively.

NOTE: `bootstrap/casper` only deserializes functions starting with 'on' and
those that are children of `httpStatusHandlers`.

close #52