GCP-5619
* optimized code to remove repeating code
* added warning when selecting list if result will cause heap space error
Merge branch 'master' of https://github.com/digitalabs/GermplasmStudyBrowser