joomla/joomla-framework — pull request #241 by dongilbert (2013-10-22 00:24:33+00:00)
Title: Remove Factory usage from the Session package

This PR removes all usage of the global `Factory` class from the `Session` package.

Specifically, it:
- Moves configuration for Storage Drivers into the constructor
- Requires the injection of a `db` parameter when using the Database Storage Driver.
- Moves `getFormToken` and `checkToken` into `AbstractWebApplication`, including the tests.