Fixed parsing Bugzilla links

The Bugzilla link URI has a ? in it which is interpreted by gsub if not
escaped making copypasted links not working as expected.
Replace ruby-xml-smart

ruby-xml-smart is deprecated, use xml-smart instead
Enabled a disabled test, slightly modified

Enabled a test related to bug IDs in edit mode. Previously it used to
check the bug title fetched from Bugzilla, but likely due to the
unpredicatable nature of that the test was disabled. Now check that it
is converted to a link.