Simplified TeamCity support code. Added support for simple and full badge format