Auto merge of #16366 - sadmansk:check-merge-commits, r=Wafflespeanut
Auto merge of #16366 - sadmansk:check-merge-commits, r=Wafflespeanut

Check for merge commits with tidy

<!-- Please describe your changes on the following line: -->
Tidy checks the last merge commit and their author and reports an error if the **last merge commit**'s author is not `bors-servo`.

In case the tidy test is run under Travis (checked by looking at the [value of the `TRAVIS` environment variable](https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables), the number of commits looked at from `git log --merges` is two, and the second last merge commit is checked, since, from the [Travis docs](https://docs.travis-ci.com/user/pull-requests/#My-Pull-Request-isn%E2%80%99t-being-built):
> We rely on the merge commit that GitHub transparently creates between the changes in the source branch and the upstream branch the pull request is sent against.

So this is the test that I did:
```
$ git pull upstream master
...
$ git log --merges
commit 8262c109378dfe5452535e77ec6a5eb9f8e82f77
Merge: e2c7e3d1e2 7ba3f1e4f3
Author: Sadman Kazi <sadman@sadmansk.com>
Date:   Wed Apr 12 01:07:30 2017 -0400

    Merge branch 'master' of github.com:servo/servo into check-merge-commits

commit 7ba3f1e4f3064ec3054b2346062758375b8ab117
Merge: 7262270990 90697ab8e6
Author: bors-servo <lbergstrom+bors@mozilla.com>
Date:   Tue Apr 11 22:52:23 2017 -0500

    Auto merge of #16358 - bholley:style_sharing_fixes, r=emilio
...
$ ./mach test-tidy
Checking the config file...
Checking directories for correct file extensions...
:::: no merge commits allowed by authors other than bors-servo
```
Obviously I didn't push the HEAD with the merge commit 😅 , it was just for testing.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix  #15673

<!-- Either: -->
- [X] These changes do not require tests because I'm not really sure how one would go about automating this test

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16366)
<!-- Reviewable:end -->

splav/servo,eddyb/servo,fiji-flo/servo,dsandeephegde/servo,dsandeephegde/servo,szeged/servo,SimonSapin/servo,szeged/servo,DominoTree/servo,emilio/servo,KiChjang/servo,emilio/servo,pyfisch/servo,notriddle/servo,peterjoel/servo,anthgur/servo,saneyuki/servo,upsuper/servo,CJ8664/servo,upsuper/servo,notriddle/servo,dsandeephegde/servo,jimberlage/servo,dati91/servo,CJ8664/servo,eddyb/servo,larsbergstrom/servo,notriddle/servo,paulrouget/servo,cbrewster/servo,avadacatavra/servo,sadmansk/servo,eddyb/servo,emilio/servo,dati91/servo,SimonSapin/servo,mbrubeck/servo,mattnenterprise/servo,thiagopnts/servo,KiChjang/servo,saneyuki/servo,thiagopnts/servo,notriddle/servo,SimonSapin/servo,larsbergstrom/servo,paulrouget/servo,sadmansk/servo,szeged/servo,peterjoel/servo,avadacatavra/servo,saneyuki/servo,splav/servo,canaltinova/servo,saneyuki/servo,pyfisch/servo,CJ8664/servo,upsuper/servo,pyfisch/servo,peterjoel/servo,dati91/servo,peterjoel/servo,pyfisch/servo,eddyb/servo,CJ8664/servo,saneyuki/servo,mbrubeck/servo,upsuper/servo,peterjoel/servo,peterjoel/servo,paulrouget/servo,pyfisch/servo,paulrouget/servo,dati91/servo,rnestler/servo,mbrubeck/servo,szeged/servo,thiagopnts/servo,cbrewster/servo,dati91/servo,upsuper/servo,larsbergstrom/servo,KiChjang/servo,paulrouget/servo,avadacatavra/servo,anthgur/servo,nnethercote/servo,KiChjang/servo,CJ8664/servo,ConnorGBrewster/servo,saneyuki/servo,KiChjang/servo,fiji-flo/servo,peterjoel/servo,SimonSapin/servo,cbrewster/servo,notriddle/servo,nnethercote/servo,dsandeephegde/servo,peterjoel/servo,cbrewster/servo,ConnorGBrewster/servo,szeged/servo,anthgur/servo,splav/servo,dsandeephegde/servo,KiChjang/servo,upsuper/servo,fiji-flo/servo,avadacatavra/servo,rnestler/servo,fiji-flo/servo,fiji-flo/servo,CJ8664/servo,larsbergstrom/servo,nnethercote/servo,sadmansk/servo,rnestler/servo,dati91/servo,paulrouget/servo,sadmansk/servo,jimberlage/servo,pyfisch/servo,DominoTree/servo,DominoTree/servo,pyfisch/servo,nnethercote/servo,SimonSapin/servo,paulrouget/servo,ConnorGBrewster/servo,larsbergstrom/servo,ConnorGBrewster/servo,anthgur/servo,jimberlage/servo,emilio/servo,saneyuki/servo,nnethercote/servo,szeged/servo,dati91/servo,eddyb/servo,larsbergstrom/servo,thiagopnts/servo,szeged/servo,KiChjang/servo,splav/servo,cbrewster/servo,fiji-flo/servo,canaltinova/servo,sadmansk/servo,mbrubeck/servo,DominoTree/servo,pyfisch/servo,peterjoel/servo,mattnenterprise/servo,KiChjang/servo,sadmansk/servo,canaltinova/servo,notriddle/servo,emilio/servo,emilio/servo,rnestler/servo,fiji-flo/servo,mbrubeck/servo,anthgur/servo,emilio/servo,larsbergstrom/servo,rnestler/servo,thiagopnts/servo,notriddle/servo,dsandeephegde/servo,CJ8664/servo,canaltinova/servo,upsuper/servo,anthgur/servo,KiChjang/servo,nnethercote/servo,splav/servo,SimonSapin/servo,larsbergstrom/servo,ConnorGBrewster/servo,saneyuki/servo,jimberlage/servo,KiChjang/servo,larsbergstrom/servo,cbrewster/servo,mattnenterprise/servo,mattnenterprise/servo,canaltinova/servo,jimberlage/servo,rnestler/servo,anthgur/servo,SimonSapin/servo,saneyuki/servo,larsbergstrom/servo,paulrouget/servo,nnethercote/servo,emilio/servo,szeged/servo,canaltinova/servo,avadacatavra/servo,emilio/servo,mattnenterprise/servo,dati91/servo,mbrubeck/servo,pyfisch/servo,cbrewster/servo,rnestler/servo,szeged/servo,DominoTree/servo,thiagopnts/servo,dsandeephegde/servo,paulrouget/servo,anthgur/servo,eddyb/servo,ConnorGBrewster/servo,pyfisch/servo,splav/servo,mbrubeck/servo,DominoTree/servo,CJ8664/servo,splav/servo,emilio/servo,sadmansk/servo,paulrouget/servo,eddyb/servo,ConnorGBrewster/servo,thiagopnts/servo,notriddle/servo,canaltinova/servo,rnestler/servo,ConnorGBrewster/servo,eddyb/servo,jimberlage/servo,nnethercote/servo,mbrubeck/servo,jimberlage/servo,upsuper/servo,avadacatavra/servo,DominoTree/servo,saneyuki/servo,mattnenterprise/servo,DominoTree/servo,mattnenterprise/servo,dsandeephegde/servo,peterjoel/servo,avadacatavra/servo,splav/servo,notriddle/servo,cbrewster/servo,nnethercote/servo,mattnenterprise/servo,szeged/servo,DominoTree/servo,fiji-flo/servo,nnethercote/servo,splav/servo,DominoTree/servo,thiagopnts/servo,canaltinova/servo,SimonSapin/servo,splav/servo,notriddle/servo,avadacatavra/servo,jimberlage/servo,jimberlage/servo,sadmansk/servo