Bug 1032646 - Record discovery replies to avoid purging every time. r=paul
Bug 1032708 - Restart discovery when network changes. r=paul
Test discovery on b2g simulator
Wire up discovery on b2g