Change mailer url to courtfinder-test

Change mailer default url to use https instead of http

Set mailer default url host with env var instead of hard coded value.

Remove commented code line

Refactor search view and postcode importer