Update to work with Laravel 4.2.x

In Laravel 4.2 the name of the Illuminate\View\Environment class was renamed to Illuminate\View\Factory.