Remove incompatibility issues with UltiSnips

This commit fixes https://github.com/Rip-Rip/clang_complete/issues/376 issue and removes incompatibility with UltiSnips.

Patch works well with both old and new versions of UltiSnips.