Set SPARK_PUBLIC_DNS in spark-env.sh and .bash_profile

This will help in two ways:
- Scripts like bin/start-all.sh will always see it instead of relying on
  heuristics (e.g. does the hostname begin with ec2)
- User applications run from the command line will also see it, and will
  report correct application URLs to the cluster scheduler
Merge pull request #18 from mateiz/public-dns-fix

Set SPARK_PUBLIC_DNS in spark-env.sh and .bash_profile
update the out-of-date public_dns_name fetching URL
Merge pull request #30 from CodingCat/update-the-public-dns-name-retrieving-address

update the out-of-date public_dns_name fetching URL
Add awsAccessKeyId and awsSecretAccessKey to the ephemeral hdfs config
Add AWS access keys into the deploy template
Merge branch 'v3' of https://github.com/mesos/spark-ec2 into v3
Merge pull request #58 from danosipov/v3

Add S3 configuration
Revert "Add S3 configuration"
Merge pull request #75 from mesos/revert-58-v3

Revert "Add S3 configuration"
Merge
Merge branch 'v3' of https://github.com/mesos/spark-ec2 into v3