Extract partition ID out of the body

In Couchstore the body of a KV-node value consists of the partition ID
and the actual value. Extract the partition ID and store it separately
from the body in the #kv_node{} record.

Change-Id: Ic5e5cddf095feaa4e94a1f1d8528694d61c6658b