Fixed commit message hook to iterate over the lines rather than words.
Fixed commit message hook to iterate over the lines rather than words.

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

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