Device tracker calls callback instead of sockets

This pull request rips out the device tracker implementation (based on socket communication) in native code and replaces it with one that calls JS callback (sends a js-message) every time some device state changes.