fixes #3577 - do not treat `params[:dryrun]` with value `false` as true
fixes #3566 - exposes orchestration tasks via the API(v2) at /api/orchestration/id/tasks
fixes #3578 - minor SQL and whitespaces updates to the smart proxy class