history-service: skip schemas when matching urls

Modify the matching pattern used with sqlite so that the scheme is
skipped. We do this by prepending a '%:' to the LIKE string.
In order to reuse this string with non-url strings (for which the
'%:' is unnecessary, we just skip these two characters.

https://bugzilla.gnome.org/show_bug.cgi?id=723855