Code cleanup, remove trailing white space

GCP-10342

Reviewer: Chezka Arevalo
Add check variables in constants to hide in add variable popups in nurseries and trials,
Use new standard variable objects in the html pages instead of hardcoded ones,
Add/update check variables if checks are selected and delete check variables if checks are cleared,
Retrieve saved check variables when editing a nursery and when using a previous nursery as a template,
Disable check variable fields when editing a nursery without clicking the Replace button first

GCP-9879

Reviewer: Aldrin Batac
Prepare test data for unit tests of check variables

GCP-9879

Reviewer: Aldrin Batac
Add unit tests for saving and retrieval of check variables

GCP-9879

Reviewer: Aldrin Batac
Fix: Initial implementation for redirection when a nursery study cannot be launched directly

GCP-10326

Reviewer: Mae Turiana
Cleanup: rearranged entries, optimized imports and whitespaces according to standards

GCP-10326

Reviewer: Mae Turiana
Fix: Initial implementation for redirection when a trial study cannot be launched directly from workbench

GCP-10326

Reviewer: Mae Turiana
Cleanup: rearranged entries, optimized imports and whitespaces according to standards

GCP-10326

Reviewer: Mae Turiana
Cleanup: Minor refactors to support fixes for SonarQube violations

GCP-10326

Reviewer: Mae Turiana
Test: Added JUnitTests for EditNursery and OpenTrial Controllers to support redirection for incompatible studies

GCP-10326

Reviewer: Daniel Jao
Test: Added new JUnit test for happy path, Refactor some codeblocks into it's own methods for testability

GCP-10326

Reviewer: Aldrin Batac
Moved redirectErrorMessage from manageStudy.html to globals.html, Rebase conflict resolution fixes

GCP-10326

Reviewer: Aldrin Batac, Chezka Arevalo
Clean up: Moved trailing comments to a new line, change .size to isEmpty, removed unused imports, moved braces to type instead of the variable, move string literal to the left when comparing

GCP-9879

Reviewer: Aldrin Batac
Add more unit test scenarios for check variables retrieval and saving

GCP-9879

Reviewer: Aldrin Batac
Changed order of update of front end data to prioritize settings first before actual values (because some value form elements depend on settings information)
Added instructon when updating front end trial data to set as true the attribute existingData for each setting, so that front end will re-render the form element with the value for the setting
Refactored Cyrus' code for setting the existingData variable so that it is reusable

GCP-10362
Reviewer : Cyrus Venn Casada
Created unit tests to check that the following are successfully accomplished during a "happy path" scenario for opening a trial
 - clearing of session variables
 - setting of expected model attributes

GCP-10362
Reviewer : Mae Isabelle Turiana
Fix update of check variables by setting the trial observations, fix saving of manner of insertion by setting the the removed conditions, fix parseint error by adding a null and empty string check

GCP-9879

Reviewer: Aldrin Batac
Add unit test for updating of trial observations of check variables

GCP-9879

Reviewer: Aldrin Batac
Sync: Merge branch 'master' into 'BMS-33-authentication-authorisation'.