[router] Add support of differect HTTP methods.

Also:
- Change config format.
- Drop reprecated `router.direct_invocators` config section.
- Refactor bundle/router.js