Merge pull request #3 from shaochangbin/wrt-sys-event

Register event router when launch application by application ID.
merged from upstream
fix typo
Implement onSuspend