Event forwarding to web app

The web app can now register for Connichiwa events. Those events are created internally using the new CWEventManager.
Furthermore, fixed a bug in the major/minor creation in CWBeaconAdvertiser.