Quiva offsets bug fixed

.coff field in DB index needs to be -1 when
undefined, all tests assumed it was 0.
Partition load bug

Load_DB was incorrectly testing db->cutoff before it had been set.
Merge remote-tracking branch 'upstream/master'