Path to regexp

This

* uses `path-to-regexp` for creating regexps from urls, so you can e.g. do `info/:greeting/:date?`. Leading slashes also work now
* removes some global state, as mentioned in #1
* cleans up the api a bit

Based on #5