Fix retrieval of trial observations in workbookbuilder

BMS-80

Reviewer: Crisjaira Villarino
Create unit test for adding of new environment to an existing trial

BMS-80

Reviewer: Crisjaira Villarino
Move else statements after right curly braces, move string literals to the left in string comparison, move trailing comments to a new/different line

BMS-80

Reviewer: Mae Turiana
1. Remove project relationship of a Project record if it is not a study on delete (as it has no way to mark the record as logically deleted)
2. Add Junit test for deleting study

GCP-10452

Reviewer: Aldrin Batac
Fix retrieval of constants in nurseries

GCP-10508

Reviewer: Aldrin Batac
Delete nd_experimentprop and stockprop records when original variable has been deleted from the study

GCP-10505

Reviewer: Daniel Jao
Sync: Merge branch 'master' into 'BMS-90-merged-db'.