CONTRIB-3562 Fix the tests after adding MOODLE_INTERNAL extra line.
CONTRIB-3562 Allow some tokens to be ignored for indenting.

Note this has lead to a near complete duplicate of the
parent class process() method. To avoid that and allow
easier subclassing, one pull request has been performed
upstream:

https://github.com/squizlabs/PHP_CodeSniffer/pull/96

If it gets accepted, then our Sniff will be trivial.