Adding support for Python2.6

NullHandler was introduced in logging module in Python 2.7
This implements a NullHandler for versions below 2.7 as documented in the official Python documentation https://docs.python.org/2.6/library/logging.html#configuring-logging-for-a-library