Some test_model_management refactoring to prepare to add more model tests.
Wire up GLM for the REST API.  It fails 3 of the 4 test cases I tried (commented out in test_model_management.py for now).