debug logging events
added discovery debug events and logging
Merge pull request #7 from neoxygen/0.4

0.4 discovery debug logging & events