[#1764] Reorder the creation of the SOLR cache of the validated package_...

...dict so that it does not include the unvalidated package_dict.

This relates to:
https://github.com/ckan/ckan/pull/1078/files
by @wardi