Teamcity8 support & bug fixes

Series of patches that add methods for TC8 API and some small bug fix