thorium: add option to enable metadata tracking for actors

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