Treating all requests as local in test

The idea of the LOCAL=T environment variable was that I could run
javascript tests and not get the exceptions call trace, but instead
get the user experienced behavior.

This idea was not fully realized and ends up creating problems in
failed UI tests that silently swallow exceptions and instead render
user friendly failure pages.