thorium: make sure that the action specifier is not ACTION_INVALID

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: add metadata to the initial ACTION_START message

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>