Added test cases for the logrotate module with --switch_user.
Added test cases for the logrotate module with --switch_user.

This adds two regression tests for running a task under a different
user than the agent.  In both cases, the logrotate module should
still rotate logs, but the user that owns the log files will differ.

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

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