Move assets precompile (and version) to an initializer

sprockets-rails 2.1 needs the precompile list to be available in all
environments.
Merge pull request #14689 from matthewd/asset_initializer

Move assets precompile (and version) to an initializer