Indentation for logging message when the dump is an object

When you want to pretty print your object, instead of doing logging.debug(myobj) you can do
logging.debug(pprint.pformat(myobj)). One problem, pprint uses a space char to indent and that won't work in html, so i added a filter called nbspindent that replaces the spaces created by pprint with \&nbsp; so it's proper indented.