SPARK-2168 [Spark core] Use relative URIs for the app links in the History Server.

Removing full URI leaving only relative path in link to the completed application plus unit test
indentation is weird here