[API change] replace NewResourceHandler by SetRoutes

This allows for future options in the ResourceHandler struct.
The flag EnableGzip is first on my list.