Output format plugin

This is early work. I just wanted you to have a peek to the direction this is turning into.
I'm not clear on ``restful_get_restful_handler_for_path``, and why do we need an ``else`` for it?