Added ability to set database connection when opening the SQL editor via "Extract SQL statement(s)".
This is done by exposing a sql context determinator that allows another extension to export the required implementation of the API.