Correctly unset the PHP session cookie depending on its parameters
Correctly resolve the module dependencies (see #6606)
Correctly detect Android tablets in the `Environment` class (see #5869)