Update clang_complete settings for c++.
Some minor fixes and checks for setup.
Use persistent undo.