CppTools: Fix race condition when closing files

If parse() is called in another thread the CppToolsEditorSupport might be
already destructed.

Task-number: QTCREATORBUG-10548

Change-Id: Ie4215937eb1847b51bce8b080aca4925c0bee39f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
RemoteLinux: Never disable the run configuration.

The current implementation disables the run config if the build system
does not supply information about which executable to run. But this is
too restrictive, because users can set the executable manually.

Change-Id: Ia792c06063ca88ad7168a0dd96131266e8aaf1cb
Reviewed-by: hjk <hjk121@nokiamail.com>