Add view-revsion context to prepare_post(); exclude version-history and replies links from view-revision context; remove json response and just return struct.