Moved allocator actions before TestAllocator.
Moved allocator actions before TestAllocator.

The allocator actions should be defined before they are used in
TestAllocator, despite it compiles now since TestAllocator is a
template.

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

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