added init which fails if routes have bad handlers

If a router's configuration specifies routes which don't have handlers, then the router would simply not add those routes to the pipeline when handling incoming requests. Now the router throws an exception if it finds a bad route.

As well, on init the router attempts to create a new pipeline and returns an error from init if that creation fails