Fix app addition/removal on the dashboard
Merge pull request #751 from ochameau/fix-dashboard

Fix app addition/removal on the dashboard. Fixes #726. Thanks for looking into this!
Created js-message bridge between C and JS

C communicates to JS with MSG(&res, "channel", some_struct)
JS uses JsMessage{pack,unpack} to extract data