Logger support, rewrote most of it to support unit testing better

Added Zend Logger support. Now all errors can also be logged through Zend Logger.

Pull is optional, if you think it should not be done, I will continue with the fork.