Move base URL specification to middleware providers.
Fix typo in class name.
Throw BundleNotFoundErrors when requesting a nonexistent bundle.
Throw EndpointNotFoundErrors when requesting a nonexistent endpoint.
Give a 404 when an endpoint is not found.
Merge pull request #2 from rafeememon/feature/api-improvements

Feature/api improvements