Recognize long identifiers from type extensions

Fix #655.
Merge pull request #656 from dungpa/unused-opens

Recognize long identifiers from type extensions
Fix wrong ranges of generic type symbols

Close #488.
Fix a related bug in Find All References
Always try to rename the word under cursor

Fix #620.
Fix a few build warnings