Make header and summary API render a specific revId as well

So the API could return either the most recent revision or
the revision specified

Change-Id: If5aa992aa2a7958ee011fdee77886a86ae01aad1
Merge "Make header and summary API render a specific revId as well" into frontend-rewrite