Debugger: Pass more options down to LLDB variable formatting

Change-Id: I18487bafeafe81a473e9b11945a20258c8b2b676
Reviewed-by: hjk <hjk121@nokiamail.com>
Projects: Improve opening of projects

Move logic to detect already open projects into ProjectExplorer itself,
along with some check for the canonicalFilePath.

Remove the same logic from the individual projectmanagers.

Put check that the path is a file into project managers. So far all of
them assume the project file to be a file (e.g. a xcode project manager
would expect a directory though).

Task-number: QTCREATORBUG-9350
Change-Id: I3901958395e3c594c8cfba9a85dc7d3ec3334afb
Reviewed-by: Daniel Teske <daniel.teske@digia.com>