Handle URL's like: http://host?opt=1. Fixes ROOT-5915.

Also add new method HasOption(const char *key) which returns true if the
specified key appears in the URL option lists. In the above URL
HasOption("opt") returns true.
Merge branch 'v5-34-00-patches' of https://root.cern.ch/git/root into v5-34-00-patches