Made network string transform to uppercase and transformed ref string
to capitalize the first letter if the ref is a word. This is a fix for
the Chicago Transit Authority (CTA) that uses colors for their line
numbers.