mysql doesn't support arrays so IN requires many '?' and flatten values

the first commit fixes relationship/preloader issues.
the second 'fixes' the types test, which postgres and mysql don't match up on.

Fully passing!! Woot woot!

```
Finished in 36.1 seconds (2.6s on load, 33.5s on tests)
63 tests, 0 failures
```