Small fixes to web UI

- Use SPARK_PUBLIC_DNS environment variable if set (for EC2); this fixes SPARK-833 (https://spark-project.atlassian.net/browse/SPARK-833)
- Use a non-ephemeral port (3030 instead of 33000) by default
- Updated test to use non-ephemeral port too