MySQL integration test & bug fixes

- spouse example in a Scala test
- MySQL data loading with "local" tags
- branch testing with environment variable