Allow configuration of Topics for Gerrit trigger

Gerrit trigger in addition to project name, branch and
file-path also supports when-to-trigger limitation
based on topic of the change, this adds support for that.

Change-Id: Icfcb3f02903a61294d23dd53308287a67927c777
Merge "Allow configuration of Topics for Gerrit trigger"
Handle utf8 in JJB

JJB didn't actually handle unicode data very well for a couple reasons.
First the local yaml loader was loading files into yaml as strings
instead of unicode which we should just go ahead and do because yaml's
built int loader loads utf-8 by default (and we don't override the
default). Second we need to do parameter substitution on unicode and
regular strings so change the substitution typecheck to use basestring
instead of str. Finally we need to use UTF-8 as the encoding when
emitting XML so do that.

Add tests to actually test this in the yamlparser tests. The addition of
these new tests comes with a little bit of cleanup in the test classes
to make sure we load unicode files as utf8 more consistently.

Change-Id: I2169e19aae2cdc7ddbd1e7217ef7584c786a039a
Fixes-bug: 1361090
valgrind publisher: Add parameters to fail build

Add optional parameters fail-no-reports and fail-invalid-reports that
set the build status to failure if no valgrind reports are available
or if the reports are malformed.

This parameters have been added to the Jenkins Valgrind Plugin
version 0.21.

Change-Id: I558802896f24a596f07957ab58a83fcaf6054093
Merge "Handle utf8 in JJB"
Implements wrapper for ownership plugin.

This wrapper sets "Inject ownership variables into environment"

Change-Id: Ib8a37c1a5cd3c6ec35d7fb25fddee82fdeb76aaa
Merge "valgrind publisher: Add parameters to fail build"