Add function for ensuring that a treatment exists.
refactoring experiment instances
fix up tests and make them more robust
more refactoring of lobby, batches, and assignments
finish refactoring and initial test fixes
add more tests for refactored code
fix tests, hopefully for real this time
Merge remote-tracking branch 'origin/ensure-treatment'
tweak and make use of ensure treatment code