Bug 1062807 - Use the new shared helper for loading JSON files in the wallpaper app

Converted the Pick.js class to LazyLoader.

https://bugzilla.mozilla.org/show_bug.cgi?id=1062807
Same as for ``self``, ``sampleSize`` should be declared before this function, move its declaration above it.