Fix the handling of (default) parameters for project triggering.

Handle parameters based on the ParametersDefinitionProperty from the project, so default value are handled as well.