basic support for after_fork callbacks.

closes #16
Merge pull request #50 from senny/16_after_fork_hook

basic support for after_fork callbacks.