SPARK-1291: Link the spark UI to RM ui in yarn-client mode

 `addAmIpFilter ` is invoked in  yarn Container.  The code in [Client.scala](https://github.com/apache/spark/blob/master/yarn/stable/src/main/scala/org/apache/spark/deploy/yarn/Client.scala)