Add 'run_as' functionality to composer_project.

composer_project docs indicate presence of run_as functionality but it's not in the code, this PR adds it in.