Updated to Laravel 4.2
Changed the user of Environment to user of Factory as described in the
Laravel 4.2 Update Guide