SPARK-2127: Use application specific folders to dump metrics via CsvSink

1. Use a utility function to generate unique name.
2. Add app name & unique app name to Standalone mode's Master and Worker.
3. Add changes that had been missed for Gangila sink.