Usage implementation changed to interfaces
Added Laravel's EnvironmentDetector from Illuminate/Foundation
Split for Laravel's Illuminate/Foundation/Application code
Added environment detection