code refactoring on exception handling
code refactoring on exception handling

Refactoring of zones_list and current_zone which was
repeated on all error page generations.
Permits a futur log message on exceptions with minimal work.

kakwa/dnscherry,kakwa/dnscherry