jsonpickle: support serializing references to module-level functions

Add support for objects that hold references to module-level functions.

Closes #77

Suggested-by: Kyle Gorman <kylebgorman@gmail.com>
Signed-off-by: David Aguilar <davvid@gmail.com>