added binding_of_caller gem so we can inspect the environment ir case of error
added the subdomain to routes (still hardcoded) and put subdomain logic into controllers and views [#47977937]