Move rec.priority into rec.data

From V2 priority is stored in the data field of the record, this means that V1
code has errors when creating records that can lead to bad data at places.

This change moves the record's priority into the data instead of a sept.
column.

Change-Id: I8733f7767dcbe0263c2c54861ed892adf0251175
Merge "Move rec.priority into rec.data"