Improve error reporting configuration.

PHP error reporting setting changed in PHP 5.4.

E_ALL now includes E_STRICT.

In development mode it should report everything possible
and in production it is better to supress deprecation
and strict warnings for compatbility to prevent unneded errors.