HADOOP-11153. Make number of KMS threads configurable. (wang)

(cherry picked from commit 64aef189656919327b11fe5e90ea680ca7ba83df)