Update with a few tweaks for mode handling and search service endpoint

The mode (image only, transcription, reading text, or TEI view) is now captured in the URI and should be handled when loading the page (though there might be some timing issues for certain modes -- still investigating that).

The search service endpoint is now the IP address of the EC2 instance.