WIP on publishing sequences (mostly tests)
Functioning spec for activity_runtime_api
activity_runtime_api factors out activity creation

This pulls out the actual creation of activities and child components from the hash into its own method, so it can be used both by publish_activity and publish_sequence.