Use new method for specifying custom rules
enable multi language analsysis

Signed-off-by: Jorge Costa <jorge.costa@tekla.com>
Small refactoring: inline CxxPlugin:isEnabled()
Fix file ending.

Files got commited to Git with CRLF (windows) file ending, causing issues on
linux.
Merge pull request #141 from Typz/crlf

Files got commited to Git with CRLF (windows) file ending, causing issues on
linux.
add header file to mock up Visual Studio 2010 specific extensions to C++
handle error recovery on global declaration level: skip syntax errors and proceed with next declaration
add switch sonar.cxx.errorRecoveryEnabled=true/false
add syntax error logging
add a rule to report on every recoveredDeclaration (C++ skip parser error)
Merge pull request #140 from guwirth/enhancement/error-recovery-declaration

Enhancement/error recovery declaration
Merge branch 'feature/deprecate-extensions-rules' of git://github.com/jmecosta/sonar-cxx into jmecosta-feature/deprecate-extensions-rules

Conflicts:
	sonar-cxx-plugin/src/test/java/org/sonar/plugins/cxx/cppcheck/CxxCppCheckRuleRepositoryTest.java
Reenable a test disabled in the last merge (?)
Merge pull request #142 from guwirth/enhancement/visual-studio-macros

add header file to mock up Visual Studio 2010 specific extensions to C++
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