YARN-2697. Remove useless RMAuthenticationHandler. Contributed by Haosong Huang.

(cherry picked from commit e37a4ff0c1712a1cb80e0412ec53a5d10b8d30f9)
HDFS-7436. Consolidate implementation of concat(). Contributed by Haohui Mai.