CONTRIB-4742 Fix incorrect thirdpartylibs.xml debugging for Windows.

A harcoded use of '/' was causing some correct thirdpartylibs.xml
being reported as as non-existing under Windows.

Moving to DIRECTORY_SEPARATOR fixed it. Thanks Gareth for both
reporting and testing it.
CONTRIB-4876 cs: upgrade to upstream 1.5.2
CONTRIB-4876 cs: API changes applied to tests

- Use sniff codes instead of sniff class names.
- File handling changes (big memory improvement).
CONTRIB-4876 cs: fix the CLI to use new API.

This applies changes to reporting and introduces a new,
useful, switch to be able to execute interactive runs,
allowing to repeat the checks for a file multiple times.
CONTRIB-4876 cs: fix the web UI to use the new API.

Errors and warnings are not available anymore from
the CodeSniffer object. Instead, a real report has
to be generated and later build the information
from it.

After balancing if we could use an in-memory custom
report to accumulate coding violations vs. using
some of the existing reports, the later was decided,
using the xml (phpcs internal) format. It allows
quick and easy handling via SimpleXML, keeping the
vast majority of the renderer working in a similar way.
CONTRIB-4876 cs: move to own reporter.

Here we are switching from the upstream "Xml" reporter to
a custom extension, in order to get files without violations
reported in the web UI.
CONTRIB-4876 cs: group problems under source-line.

This patch groups all the problems for a given line together
and also re-styles the report to get things better visually.
Bump to 2014021700 (v2.3.0)
MDLSITE-2800 Upgrade to phpcs 1.5.3
MDLSITE-2800 Exclude TZ sniff from phpcompatibility
MDLSITE-2800 Upgrade the phpcompatibility standard
NOBUG: Update to add last changes
CONTRIB-4146 CS: Forbid use of functions/operators

With this commit some dangerous functions will be detected
and reported. Namely:

- eval()
- extract()
- goto and goto labels

As commented @:
    http://docs.moodle.org/dev/Coding_style#Dangerous_functions_and_constructs
CONTRIB-4146 & MDLSITE-3150 More forbidden stuff

This adds detection of the following forbidden structures:
  - preg_replace() with the /e modifier.
  - backtick shell execution.
  - backtick within strings (warning).
  - AS keyword aliasing tables (MDLSITE-3150).
Bump to 20140707 (v2.3.1) - San Fermín release, yay!
MDLSITE-3150 CS: Get rid of lookahead

This was causing problems with some regexp engines (PHP 5.4),
so getting rid of the negative lookahead and just looking by
plain "any whitespace" alternative. Thanks Tim!
CONTRIB-4146 CS: Fix regexp when char is reserved
CONTRIB-5175 phpcs: control some /e false matches

Now we verify that the valid regular expression has 2 parts
and the 2nd one includes the "e" modifier. Previously any "e" character
in a valid regular expression was being detected as "e" modifier.
Tests included.
CONTRIB-5175 phpcs: some more false positives

Avoid looking into incorrect modifiers combinations, it's not
the responsibility of this Sniff to check that, but to verify
that, when the modifiers are valid [imsxeADSUXJu]+, the /e
one is not being used.
Sort codechecker results by path.