Fixed regression bug where safe mode no longer work.

Signed-off-by: crynobone <crynobone@gmail.com>
Deprecate Orchestra\Extension\Environment::isActive() and introduce Orchestra\Extension\Environment::activated().

Signed-off-by: crynobone <crynobone@gmail.com>
Run Session::put() only if there changes for `orchestra.safemode` value.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge branch '2.0'