Allow specifying "outputs" property for the actions.

This is used by the makefile-based toolsets to generate dependencies on the
outputs of the action instead of a special phony target corresponding to the
target itself, which is better as it avoids rebuilding everything depending
on the action during each make run.