[PIE-4] Serialize should not throw err for unspport format.

Hapi wil return a default error if it does that. pass it to the callback
and deali with it internally.
[PIE-4] First pass at route config generation.

resource.routes will return an array of Hapijs route configurations.
with a path, and handler bound to the resource. And a * method type.
Methods get routed to specific handlers.