Fixed #22058 -- Refactored code in handlers/base.py and urlresolvers.py

**What is done**:

- Refactored handlers into generic ones.
- Deprecated original default views.
- Added generic views.

**Improvements Required**:
- Docs build have several warnings due to removing original handlers.
- A writeup for new views.

**Suggestions**:
- We could add two generic exceptions also: `HttpClientException` and `HttpServerException` to add onto the functionality.

And we are now logging 500s twice... and the names like "Not Found" are now different. It's not worth all these differences and inconsistencies.