Bug 1020152 - Generate pre_installed_collections.json in build time.

I run jshint manually and fixed reported errors, however it is not run when doing a commit. Shall I add the path of the file to somewhere?