Added exception logging.
Changed to use PHP_EOL.
Added ExceptionRenderer.
Fixed mock for PHP 5.4
Changed exception output as suggested.
Changed if statement for consistency.
Merge pull request #1 from IcecaveStudios/feature/exception-logging

Added exception logging.