HIVE-4774  add synchronized to XMLEncoder

Summary:
HIVE-4774  add synchronized to XMLEncoder
add .arcconfig to branch-0.9

Test Plan: none

Reviewers: chenchun

CC: xieyuchen, lijianbin

Differential Revision: http://192.168.2.241/D178