Fix correct include check if comment is right after file string.

The checker was incorrectly reporting issues if the name is specified in quotes,
and followed immediately (no space) by a comment.
Fix reserved name check.

* According to the standard, reserved names that either begin with underscore
followed by a capital letter and a capital letter, contain 2 consecutive
underscores, or are part of the reserved keywords.
* The check was not working for function-like macros.
* The check could report errors if #define is used in commnets.
prevent duplicated literal check to flag nullptr for c++11 as violation
Ignore macro expansions in one-statement-per-line check.

Many macros expand to more than one statement, making this check quite unusable.
This patch ignores all but the first generated statement in a sequence.
Support parsing GCC build log.

The sonar.cxx.compiler.parser property can be used to select either vc (default)
or gcc build log parser.
Do not generate magic number warning when preprocessor macro is used.
cppcheck: Add support for XML version 2
- try sequentially to parse the report wit format V2 and V1
- format V2 is the default
Allow magic number in array initializer.
Merge pull request #158 from guwirth/enhancement/cppckeck-xml-v2

Issue #113: cppcheck: Add support for XML version 2
Merge pull request #143 from Typz/gcc

Support parsing GCC build log.
Merge pull request #146 from Typz/absinclude

Fix correct include check if comment is right after file string.
Merge pull request #157 from Typz/magicnumber

Improve magic number check
Merge pull request #152 from Typz/statementcheck

Ignore macro expansions in one-statement-per-line check.
Merge pull request #145 from Typz/reservednames

Fix reserved name check, consider "A17.6.4.3.2 Global names"
implementation of review comments from @wenns
Minor refactoring
Merge branch 'master' of https://github.com/wenns/sonar-cxx
Move check for unique violations to base class CxxReportSensor: saveUniqueViolation.
Design decision: Create new method saveUniqueViolation to give derived classes the chance to call saveUniqueViolation or saveViolation.
Add saveUniqueViolation to all from CxxReportSensor derived sensors.
Add test for duplicated external rule violations.

Conflicts:
	sonar-cxx-plugin/src/main/java/org/sonar/plugins/cxx/compiler/CxxCompilerSensor.java
	sonar-cxx-plugin/src/main/java/org/sonar/plugins/cxx/cppcheck/CxxCppCheckSensor.java
merge with master & fix remaining issues