Merge pull request #47 from michaelfung/master

change websocket api
add LAST_EVENT_TIME in status reported
New Device Status Report API

used by the hub to report the instant status change
update the LAST_EVENT_TIME format
add definition to alarm fields
remove obsolete device api