updated FatalErrorException to new namespace
Merge pull request #2416 from anlutro-pull-requests/bug/fatalerrorexception-import

updated FatalErrorException to new namespace
Added setRules method.
Import cookie class.
Clean up Validator and Mail components

- Fixed docblocks
- Removed some unnecessary returns
Merge pull request #2426 from DriesForks/dv/clean-up-validator-folder

Clean up Validator and Mail components
Added getLocale() method to Application which returns the current locale from the config.
Merge pull request #2429 from alexdover/getlocale

Added getLocale() method to Application
Fix order.
Cast to integer on limit and offset.
Increment version.
Change Auth::guest() to call the check() method.

Instead of reimplementing the logic of the Auth::check() method, we can call and negate it. This makes it easier to change things in a Guard subclass.
Merge pull request #2439 from franzliedke/patch-12

Change Auth::guest() to call the check() method.
Fix unguarded bug.
added call to isValid to validateMax function, since failed uploads report zero size, leading to incorrect success for this validation
Added new options to control amount of time between jobs.
Merge branch 'issue-2433' of https://github.com/simonhampel/framework into simonhampel-issue-2433
work on validator file checks.
fix - trim the output of the fully rendered php to ensure that DOCTYPE is on the first line (fixes #2359)
Merge pull request #2478 from thomasedwards/4.0

fix - trim the output of the fully rendered php to ensure that DOCTYPE is on the first line (fixes #2479)