Updated to Laravel 4.2

Changed the user of Environment to user of Factory as described in the
Laravel 4.2 Update Guide

http://laravel.com/docs/upgrade

View / Pagination Environment Renamed

If you are directly referencing the Illuminate\View\Environment class or Illuminate\Pagination\Environment class, update your code to reference Illuminate\View\Factory and Illuminate\Pagination\Factory instead. These two classes have been renamed to better reflect their function.