values() / setValues for INSERT / UPDATE

I've been missing `Miner::values()` and had a whole bunch of `foreach()` loops for that, so I've added values along with test.