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.
Test a bug ID can be given with a prefix

Enabling possibility to define a prefix for a bug ID, e.g. [[BZ#1234]].
This is needed because some users have been marking bugs with such
format and they often use the same in QA Reports, and also to later
enable linking to multiple Bugzilla servers.
indexOf does not work in IE, surprise surprise
Correctly parse bugs with a prefix, e.g. [[BZ#1234]]

Added handling bug tags with a prefix.
$.inArray returns -1 like indexOf does

Using $.inArray return value as boolean produces incorrect results.
Fixed.
Merge branch 'dev'