YARN-2102. Added the concept of a Timeline Domain to handle read/write ACLs on Timeline service event data. Contributed by Zhijie Shen.

(cherry picked from commit d78b452a4f413c6931a494c33df0666ce9b44973)