Fix deleteapp?all=1 returning a 500 due to forgetting to return promise
Add HttpServer.ResponseException for easier 500 responses
Merge branch 'upstream' (server tweaks that already exist on master)