Fixed #22634 -- Changed Session and SessionStore to be easily extendable

Introduced abstract base model for Session, and properties enabling the developer to override session model class used by session store and the session store class used by the model.

Allowed to override KEY_PREFIX via the cache_key_prefix property.
This can be a class attribute:

```py
class SessionStore(SessionBase):

    session_class = Session

    def __init__(self, session_key=None):
        # ...
```

Then you can subclass `SessionStore` and update the `session_class` attribute:

```py
class MyCustomSessionStore(SessionBase):

    session_class = CustomSession
```