Deprecation fixes and task killing / app scaling cleanup

- Fixed deprecation warnings, removed (now unused) deprecated internal methods
- Reimplemented the v1 scale endpoint in terms of update
- Consolidated duplicated logic related to killing tasks and scaling application instances
- Fixed a bug in the handler for `DELETE /v2/apps/{app_id}/tasks` where a default value for the `host` parameter did not have the intended semantics