Fix  ApplicationUtil test reliability issues
Fix  ApplicationUtil test reliability issues

Refactor the test using jasmine `clock` to fix reliability issues due to
timeouts.

dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui