Pin a Build by BuildConfigId and Build Number

Added a Function to Pin a Build by providing its BuildConfigId and
Buildnumber. A message string can be passed to the function, which will
show up as comment to the pinned build.