[SPARK-2169] Don't copy appName / basePath everywhere.

Instead of keeping copies in all pages, just reference the values
kept in the base SparkUI instance (by making them available via
getters).
I just noticed we're passing in many of `parent`'s fields in addition to `parent`, which seems unnecessary. Maybe add a helper method that takes in a `SparkUITab` that abstracts this?