Improve NString::TrimRight performance when trimming case-sensitive non-regexp strings.
Added CTLine cache to improve NCGContext::DrawText/MeasureText performance.
Added NCGContext::SetTarget to allow a context to maintain a persistent text cache.