Refactor TrialDataService.registerData and registerSettings to better reflect functionality

Reviewer: Dan V.
Rel issue: GCP-9963