Bug 1020152 - Generate pre_installed_collections.json in build time.

build/ haven't been jshinted but we should add it in [Makefile](https://github.com/mozilla-b2g/gaia/blob/master/Makefile#L902), I filed a [bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1024386) for it.