Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already.
Add a test for converting ArrayRef<T *> to ArrayRef<const T *>.
Use StringRef to avoid copies and simplify code.
Remove 'virtual' keyword from methods markedwith 'override' keyword.