Define the ResourceHandlers interface.

ResourceHandlers defines the actions for a resource.
Add ResourceRouter, the unit of routing.

ResourceRouter uses handlers from ResourceHandlers to direct requests.
Add documentation for the package.