TEIIDDES-1701: Small bug fixes for refactoring functions

* RelatedResourceFinder
 * Typo for ALL relationship.

* RefactorResourceUtils
 * Caters for real possibility that a group name appears in an SQL statement
   line more than once, eg. SELECT SourceModel.ID, SourceModel.name, rather
   than only finding the first.

* RenameResourceRefactoring
 * Only if SQL edits have been added to the TextFileChange should it be
   added as a change. Otherwise, an empty change object is added and makes
   no sense.