Potential fix for #173

First attempt at adding support for Stash Pull Requests.  NOTE: While
all the tests are passing, I haven't actually tested this on an actual
Stash Server, as I don't currently have one of those :-)
Corrected ReSharper Inspection Issue

Changed  the BuildServer class to be private, rather than public, based on the suggestion from the ReSharper Code Inspection.
Corrected addition ReSharper Code Inspections

After correcting the first ReSharper Code Inspection issue for the BuildServer Class, there were a number of additional code inspections errors created.  This commit aims to correct these.
Merge branch 'Issue173'