Add scripts to use Sonarqube for plugins built with buck

Script gen_sonar_project_properties.py allows to generate
sonar-project.properties file. This script can be used in CI server
(e.g. Jenkins) to allow running a Sonarqube analysis.

Script sonar.py run a Sonarqube analysis and upload the results to the
local sonar instance, similar to what `mvn sonar:sonar` would do.

Change-Id: I8ebf76a601effe8e6c94cf9130e8946ca56ddc5e
2 files changed