Deprecate ::packageIcon methods

It's suggested to use Appstream instead.
Also removes the QtSql dependency, which is nice.

Reviewed by Daniel Nicoletti