Added error logging for exceptions

It can be done by AbstractFactory http://framework.zend.com/manual/2.2/en/modules/zend.mvc.services.html#zend-log-loggerabstractservicefactory