CodeHintManager guard against timing issues

https://github.com/adobe/brackets/issues/7426
replace trim() with regex
remove global flag -- not needed
respond to comments
found a few more...
fix rte and error found during self check
rtc: trim in _getSelectorName
fix lastindexof search regex
respond to comments -- remove optimizations for between classes case. Add unit test for between classes and multiple classes cases
Updated by ALF automation.
Merge pull request #7475 from adobe/alf_localization

ALF Automation
Merge pull request #7427 from MiguelCastillo/master

CodeHintManager guard against timing issues
Merge pull request #7439 from adobe/jeff/untrim

replace trim() with regex