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 that uses colors for their line numbers.