Include the correct header for std::lower_bound.

That is <algorithm>. Relying on indirect includes is bad, mmkay?

Change-Id: I245885672004cd406f98c82231aaa38a5cfe464c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Fix a crash on codestylesettings

Task-number: QTCREATORBUG-10235

Instead of rely on ICodeStylePreferences::destroyed() signal,
when all other objects might be in destruction phase,
clear project code style settings explicitly, when project
closes.

Change-Id: I0dd6675d54c5495d4006acbc9ad12c95f1d0a00c
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Merge remote-tracking branch 'origin/2.8' into 3.0

Conflicts:
	src/plugins/projectexplorer/editorconfiguration.cpp

Change-Id: Iff7eccd9386c1f5d870e40f1e033dfef2cb0bf87