Fix update tests that fail for package installs.

Software updates are checked for but never offered in package installs.
Perhaps _MaybeCheckForAndOfferSoftwareUpdate should be split into two
functions so the "check for" and "offer" parts can be tested
independently but this fixes the tests as-is.
Fix test using ? glob with ObjectToURI

Passing a ? wildcard through ObjectToURI does not work because passing
the constructed URI through urlparse.urlparse() interprets ? as a query
and strips it off since there is no query string following it. The *
glob which is actually used in the very next call doesn't have that
problem so just use that instead.
Merge pull request #148 from marineam/fixpkgtests

Fix update tests that fail for package installs.
Merge pull request #149 from marineam/fixuriglob

Fix test using ? glob with ObjectToURI