Bug 1061519 - Fixes jshint error in tests/atoms/gaia_apps.js r=yurenju

Don't you want Object.keys(...).length here?