[#51663445] Do a full refresh and reindex on upgrade

- Add enqueue:refresh_and_reindex rake task and call it from the installer.
- We previously only did a solr index and did not refresh datasources.