Fix parentheses in shortcut check
Merge pull request #151 from rstudio/bugfix/magrittr-shortcut

Fix parentheses in shortcut check
Convert .Rproj file extension to associated UTI on open project

This fixes a bug wherein spotlight search failed within 'Open
Project'... dialogs. If the file extension is '.Rproj', we pass the
associated Uniform Type Identifier, rather than the extension itself, so
that search functions correctly.
Merge pull request #153 from rstudio/bugfix/rproj-spotlight-search

Convert .Rproj file extension to associated UTI on 'Open Project'
improve detection for Packrat library changes on Windows
Multi-line autocompletion

Allow autocompletion in function calls spanning multiple
lines, e.g.

    install.packages(
        |

should trigger an autocompletion.
Only perform multiline completion with CTRL+SPACE
Tweaks to better handle roxygen comments, regular comments, $ completion
Some cleanup, renaming + better escape rules
Finish search if cursor on ':' as well
When completing x$... or x@..., surround with  if necessary
Make sure we get logical, not display, row
Ignore .tern-port (used for JavaScript auto-completion)
Only strip balanced quotes

Otherwise, auto-completion for paths (which occurs when we ask for
auto-completion within quotes) won't work.

Similarly, the string normalizer is no longer generic enough to live
within StringUtil.
Clean up 'in quotes' logic

We want to keep track of whether within 'some kind' of quotes; so we
don't allow ourselves to be both within single and double quotes (one or
the other). This helps the line normalization logic.

Similarly, normalize the first line as well.
Refactor + fix handling of non-syntactic R names
Make sure we update state after walking characters
Include a trailing space in autocompletion for most roxygen tags
compare on stripped line
Add logging for JavaScript objects as-is