Laravel 4.2 compatibility

Change Illuminate\View\Environment to Illuminate\View\Factory to be compatible with laravel 4.2