fix for bug 997416 return query not list

Just a small fix, plus a test. We were returning an empty list from `mkt.webapps.models.Webapp.version_and_file_transformer(apps)` if `apps` was an empty `addons.query.IndexQuerySet` and when code expected a query back, but got a list instead, it called query methods, which broke things.