Custom handlers

Allow custom handlers via ipython config.

WIP. Appears my editor is fixing whitespace. Gotta clear that up.