Do not display collection icons if a background image is included (bug 1049193)

Upstream from https://github.com/mozilla/transonic/pull/54

Includes changes not already upstreamed from https://github.com/mozilla/transonic/commit/57c036c6fb7215efa7b0a0299956f3bb25e7ac04