Do not depend on `url-parse` for extracting hosts from urls

This fixes for #1939. Tests have been added to test/el-get-issue-1939.el. I wasn't really sure in which file I should put `el-get-url-host`, I put it in `el-get-core` since it maybe useful in other places as well.