Add core APIs: copyBackForwardList, saveState, restoreState