VcsManager: Add unit tests

Add some unit tests to the VcsManager to test the detection and
caching of version control systems.

Change-Id: I2b3f9218c12aebde8a8120fc869efc76c36ae41a
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
CdbExt: Fix string to int for VS 2008.

Task-number: QTCREATORBUG-11057
Change-Id: I7da9f8fb08c1fd6820368f18c8750db4ec8fee2a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
C++: Revive TranslationUnit::blockErrors()

Removed in f0f406ba

Required when CPLUSPLUS_NO_DEBUG_RULE is uncommented

Change-Id: I18ce50a84ed1ac4a77ca0aaa9d38ef070587ce49
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
CppEditor/CppTools: Move FunctionHelper to CppTools

...and rename it to FunctionUtils.

Change-Id: If076ec01fd82e8ba728764bdeab7e87e8bc1ff3b
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Clean up {classview,cppeditor,cpptools}.{pro,qbs}

Mostly reordering files alphabetically.

Change-Id: Ibad1fa75559218fe488d1b31c7200ba4ff6131fe
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
CppEditor: Introduce C++ Code Model Inspector

By default invokable via Ctrl+Shift+F12.

Change-Id: If8d61233b6d38d12131718f7c20bf40f76bc9ae4
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
CdbExt: Add dumper for std::complex.

Change-Id: Idc97782b4ad9bd9a117eec2cc1b7f92bf6b8ab0a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Bzr: add support for "uncommit" command

All "bzr uncommit" options are supported, even --dry-run (allowing
user to check the green light)

Change-Id: Ib97ef1333709ad18be53c658c23c97356e4e4ce0
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
TextEditor: Remove "actionHack" and utilize contexts instead.

The actionHack was used to only forward actions to editors that "belong"
to that action handler instance. That is already clearly defined by the
context that the action handler is created for, so we can just use that
instead.

Change-Id: Ia4c6795c80bb281c1ed258324925f56ca7fd8150
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Doc: extending creating plugins