Fix app addition/removal on the dashboard. Fixes #726

The escaping of `\` on app ids (that are manifest paths) allows to make work the app removal on windows.
And the rest of the patch fixes app registration on the dashboard.