Added on_debug

Added on_debug for localized logging.
Added on_debug #2
Added on_debug #3

Moved on_debug to correct place.
Added on_debug #4

Increased VERSION.
Merge pull request #11 from dbeusee/master

added on_debug