Expand relative URLs more correctly by using `url-generic-parse-url'

* eww.el (eww-submit): Pass the base in to `shr-expand-url'.

* shr.el (shr-parse-base): New function.
(shr-expand-url): Use it to expand relative URLs reliably.