Use URLEncoder on property values before passing them to MSBuild

This patch simply calls URLEncoder.encode on all parameter values before they
are passed to MSBuild. This ensures that characters like ',', '"' and ' ' are
escaped into %2C, %22 and + respectively.

Since MSBuild expect special characters to be urlencoded, this will prevent
errors for some users. For instance, when people also use Gerrit, the subject
line from the commit message is sent to MSBuild, and when that line contains
commas or parentheses - it will fail without this patch.