History: Use SqlQueryJob when adding history entry
This is called every time page finishes loading and as such would block main thread during normal browsing.
Also remove urlIsStored as it is not used anywhere.