some refactoring
provider improvements
Merge branch 'dev' of https://github.com/anlutro/laravel-4-smart-errors