Update post/header revision storage search key

Change from header_workflow_id/tree_rev_descendant_id
to rev_type and rev_type_id

Change-Id: I511931df8911b42080a9fccf2cec4b835631db1f
Merge "Update post/header revision storage search key"