Set URL in history.replaceState/pushState

When <base href> is present, history.replaceState and
history.pushState behave inconsistent with relative URLs.
http://code.google.com/p/chromium/issues/detail?id=274024

Contrary to what one expect, passing '' as the URL parameter to
replaceState/pushState does not associate the currently active
URL with the history entry, but a path relative to <base href>.

To fix the issue, explicitly associate the current active URL
with the history's state.
Proper glyph selection for CIDFontType0C fonts.
Merge pull request #3750 from brendandahl/cidfonttype0c

Proper glyph selection for CIDFontType0C fonts.
Merge pull request #3582 from Rob--W/pushState

Set URL in history.replaceState/pushState