Compute lightweight theme popularity and movers (bug 1059964)

Fixes [bug 1059964](https://bugzilla.mozilla.org/show_bug.cgi?id=1059964)

This PR is based on #252
Not fond of these intermediary `qs`, proper indentation should do the job. YMMV.