factor ExecutableFinder out of ProcessCommandExecutor

The functionality of finding the right executable in the build
environment is useful in other contexts too.

Change-Id: Iea73ccbc6eda1f0e58e4aadca3a2c23c7211168d
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>