Fix codec that is used for project search.

The project's editor configuration is only used if it doesn't fall back
to global. In that case we need to use the global setting manually.

Change-Id: If31c06f07e80b37fc148ed118a33ed653214ef6e
Task-number: QTCREATORBUG-12693
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Do not switch to design mode from search results

Change-Id: Iae10b8e10707cbc62bbd53109cbfb12ed1540536
Task-number: QTCREATORBUG-12028
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>