add file actions support to posix_spawn
initial implementation of posix_spawn file actions are not yet implemented, but everything else should be mostly complete and roughly correct.