wotaskd fixes : empty rest response causes client hanging

On wotaskd REST actions returning an empty response, various http clients were hanging (tested with jersey, postman). This fix returns a response with {"success":true}.