[NAN] Add Handler to publish/subscribe per API review [DO NOT MERGE]

All callback registrations must have handlers.

Bug: 31470256
Test: unit tests & integration (sl4a) tests.
Change-Id: Ifab018d613fe58f4e2f586a7784a62e74d0ca1f5
2 files changed