Use uriInfo struct instead of nsACstring

This allows me to pass around both origin and full spec, WITHOUT trying
to use an nsIURI off the main thread, and WITHOUT using the async sqlite
connection api, which results in more round trips to the main thread.