Custom endpoint and Optional 500 status
Settings Form to set custom endpoint instead of default /solr-health-check
and optionally set HTTP response code to 500
if any of the cores are down (useful for free tier uptime bots).
Minor refactoring and coding best practices.