Support srcset and multiple attributes on the same element

Had to change the HTML handler significantly so that it can handle multiple attributes in a single element.

Closes #9.
So this returns true if the attribute has a valid URL that points to a real file on the filesystem? (comment)