use component(1)

* use component/event
* use component/type
* use ramitos/path-to-regexp (exactly equal to component/path-to-regexp but without the + support)
* remove component info from package.json
* update tests