don't require rubygems (is obsolete); the main XPath made more general

to the latter: now it matches the user menu also if it has more than one class (as is the case right now)
regardless of what the classes not important for our purposes are
gem