Add the ability to disable clang_complete.
Fixup jumpToLocation loc.file is NoneType

Signed-off-by: root <root@apollo.(none)>
fix race condition with changing directory
Merge pull request #364 from Fat-Zer/master

Fix race condition with changing directory
Merge pull request #336 from visitor83/master

 Fix for jumpToLocation when loc.file is NoneType
Fix path split.
Merge pull request #367 from DeaR/fix-path-split

Fix path split

path split by , , if fails error of included path of (whitespace) or ,.

:help path

Spaces can also be used to separate directory names (for backwards
compatibility with version 3.0). To have a space in a directory
name, precede it with an extra backslash, and escape the space:

:set path=.,/dir/with\\\ space
To include a comma in a directory name precede it with an extra
backslash:

:set path=.,/dir/with\\,comma
Activate clang_complete for C file sub-types

Since I often write documentation with Doxygen, I automatically set doxygen file sub-type for C files. As a result, vim doesn't activate clang_complete.
This patch fixes problem for doxygen and all others sub-types.
Merge pull request #375 from rasendubi/patch-1

Activate clang_complete for C file sub-types

When writing documentation with Doxygen, some people automatically
set doxygen file sub-type for files. As a result, vim doesn't activate clang_complete.
This patch fixes problem for doxygen and all others sub-types.
Remove incompatibility issues with UltiSnips
Merge pull request #377 from rasendubi/master

Remove incompatibility issues with UltiSnips
Merge pull request #324 from Rip-Rip/disable-clang_complete

Add the ability to disable clang_complete.
Improvement to logging when loading libclang fails

Problem
-------

libclang failed to load on OS X Mavericks with XCode 5.0.1 and the existing logging proved insufficient to track this down.

See http://stackoverflow.com/a/20645984/78845 .

Changes
-------

- Improve logging when loading libclang fails
- Add exception to error message in debug mode.
- Add check for non-existent string
- Squash strings together, since Vim will print multi-line strings but
  only displays the first string if multiple strings are emitted, using:

```
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 19 2013 20:22:55)
MacOS X (unix) version
Included patches: 1-52
Compiled by Homebrew
```
Merge pull request #357 from johnsyweb/better_logging

Improvement to logging when loading libclang fails
Allow to jump to definition in preview window
Allow not mapping keys by default
Merge pull request #360 from suy/compatibility

Allow not mapping keys by default
Allow to jump to definition in preview window
Rebase with upstream
Refactor "jump in preview" code based on review comments