Logged fatal errors

- Added shutdown function registered in CM_Bootloader
- Logged last error via CM_ExceptionHandling_Handler::handleException()
Considered error control operator

- Don't log fatal errors in expressions preceded by the @ operator any more
- Simplified (refactored) the identification of such situations
Considered new error codes added in future versions of PHP

- Avoided an "E_NOTICE: Undefined index" that would have been raised in this case
Merge branch 'pr/843' into issue-1016
Make proper check against error_reporting
Remove strict error (passing non-variable as reference)
Use desired error_reporting
Use global error_reporting() for smarty
Remove debug code...
Merge pull request #1016 from tomaszdurka/issue-1016

Handle fatal errors