CORE-4236: a little refactoring in preparation for code changes
CORE-4337: implemented the secured version of the /get-only-analysis-groups service
Merge branch 'dev' of github.com:iPlantCollaborativeOpenSource/Donkey into dev