added new setting for goto def

You can now specify if you want to open a new window when using goto
definition