Add convenience ctor to HistoryState

Change-Id: I7d4292a7e6be10e75f2269a8d6b043ceba39fb47