More robust Team City support

Added support for Team City configurations where the configuration name is not unique across multiple projects. When the configuration (i.e. buildType) is ambiguous, a more specific form can be used.