Fix text encoding dialog

Same issue and fix as the Seahorse bug below:

https://bugzilla.gnome.org/show_bug.cgi?id=703825
web-extension: do not pass data uris through the uri tester

As this is always going to fail. Also it can be pretty slow
for large data.