Removed test assumptions about arrival order of status updates.
Removed test assumptions about arrival order of status updates.

Just like TASK_KILLED updates, TASK_RUNNING updates can arrive in any
order. Adjusted the code to not assume a particual order.

Also, cleaned up the code to minimize the mutated state.

Review: https://reviews.apache.org/r/54134/

Aman-Jain-14/customizedMesos,gsantovena/mesos,chhsia0/mesos,andschwa/mesos,reneploetz/mesos,gsantovena/mesos,yuquanshan/customizedMesos,craimbert/mesos,kaysoky/mesos,dforsyth/mesos,zmalik/mesos,Aman-Jain-14/customizedMesos,verizonlabs/mesos,Gilbert88/mesos,andschwa/mesos,jpeach/mesos,Aman-Jain-14/customizedMesos,gsantovena/mesos,neilconway/mesos,abudnik/mesos,kaysoky/mesos,abudnik/mesos,jpeach/mesos,zmalik/mesos,asamerh4/mesos,neilconway/mesos,andschwa/mesos,neilconway/mesos,andschwa/mesos,gsantovena/mesos,chhsia0/mesos,reneploetz/mesos,kaysoky/mesos,craimbert/mesos,craimbert/mesos,Gilbert88/mesos,craimbert/mesos,reneploetz/mesos,zmalik/mesos,jpeach/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,asamerh4/mesos,gsantovena/mesos,yuquanshan/customizedMesos,yuquanshan/customizedMesos,zmalik/mesos,dforsyth/mesos,asamerh4/mesos,gsantovena/mesos,dforsyth/mesos,dforsyth/mesos,verizonlabs/mesos,Gilbert88/mesos,asamerh4/mesos,yuquanshan/customizedMesos,neilconway/mesos,Gilbert88/mesos,yuquanshan/customizedMesos,verizonlabs/mesos,chhsia0/mesos,jpeach/mesos,asamerh4/mesos,dforsyth/mesos,yuquanshan/customizedMesos,jpeach/mesos,abudnik/mesos,zmalik/mesos,andschwa/mesos,craimbert/mesos,kaysoky/mesos,verizonlabs/mesos,asamerh4/mesos,jpeach/mesos,Gilbert88/mesos,chhsia0/mesos,verizonlabs/mesos,reneploetz/mesos,Aman-Jain-14/customizedMesos,chhsia0/mesos,neilconway/mesos,zmalik/mesos,reneploetz/mesos,jpeach/mesos,neilconway/mesos,Gilbert88/mesos,Aman-Jain-14/customizedMesos,andschwa/mesos,abudnik/mesos,abudnik/mesos,kaysoky/mesos,abudnik/mesos,chhsia0/mesos,zmalik/mesos,yuquanshan/customizedMesos,Gilbert88/mesos,reneploetz/mesos,asamerh4/mesos,dforsyth/mesos,abudnik/mesos,verizonlabs/mesos,Aman-Jain-14/customizedMesos,kaysoky/mesos,andschwa/mesos,chhsia0/mesos,gsantovena/mesos,dforsyth/mesos,neilconway/mesos,verizonlabs/mesos,reneploetz/mesos,kaysoky/mesos,craimbert/mesos