Bug 859707. Convert History to WebIDL bindings. r=bz