Change getWorkbenchContextParameters() to use the common utility function for constructing the context parameter string.

Imports got organised.

Issue: GCP-8800