fix(views): rss w3c validation improvements

https://github.com/Elgg/Elgg/pull/6618

Rebased to 1.8
Uses elgg_http_remove_url_query_element()