XD-1906 WebUI: Refresh Job/Stream deployment states

- Add `$timeout` to refresh the stream/job definition list page
so that the deployment state for all the stream/job(s) are in sync.
- Cancel the `$timeout` when the corresponding controller's `$scope`
is destroyed.