Minor formatting adjustments. Added trace() method to prototype to help performance.
Call EventEmitter constructor for new Discover instances
Fixed code smell in handling of transport 'ping' event. Updated documentation. Code formatting.