Support changing the working directory in the Process JS extension.

Task-number: QBS-385

Change-Id: I3f26460051103117d493d08eaf9f30e7d5ff499b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>