Updated for illuminate/view 4.2

- 4.2 uses 'Factory' instead of ‘Environment’ to be more descriptive.
Merge pull request #5 from ryanhightower/master

Updated for illuminate/view 4.2