clean up messagehandler a bit

remove unused cruft. rename registerSender function to
createRegisterMessage to reflect that it really only creates that message.

Jira-issue: WP-850
more messagehandler cleanup

use strings for setting routes by fixing how Array.join is used. rename ownId
to ownSessionId, including the setter and getter.

Jira-issue: WP-850
remove duplicated code in messagehandler

use function for getting the PZH sesssion id

Jira-issue: WP-850
drop msgs if local wrt disconnected

if received msg is intended for wrt connected to this pzp, do not forward msg
back to pzh. fixes infinite msg loop.

Jira-issue: WP-850
Update bridge binary for module classloading changes.

Jira issue: WP-891
Merge pull request #525 from aldafu/WP-850-fix-messagehandler-infinite-msg-loop

Wp 850 fix messagehandler infinite msg loop

Tested and works.
Merge pull request #530 from paddybyers/android-moduleloader

Update bridge binary for module classloading changes.
Improves error handling in case PZH is not reachable.

Stability improvment.

Jira issue: WP-896
Switching from serialport2 to serialport module

Jira issue: WP-898
Adds widget launching functionality on Android

Widgets can be launched using the AppLaucher API by specifying the ID
of the installed widget.

Removes issue with quotes on AppLauncher's testbed page.

Jira issue: WP-874
Merge pull request #531 from mlasak/WP-896

Improves error handling in case PZH is not reachable.
Fixed formatting for package.json file

Jira issue: WP-898
Cleans up code. Removes untidy whitespace.

Jira issue: WP-874
Android: Add PZP event register and unregister interface

Jira Issue: WP-822
Merge pull request #534 from ziransun/pzp-event-register

Android: Add PZP event register and unregister interface
Merge pull request #533 from mlasak/WP-874

Adds widget launching functionality on Android
Renamed this.listeners attribute in this.sensorEventListeners

Jira issue: WP-904
Merge pull request #535 from glatorre/WP-904

Fixed a bug described in WP-904 affecting SensorService
Check PZP mode before starts Peer discovery process

Jira Issue: WP-776
Indention correction

Jira Issue: WP-776