allow ElementTree Element for config and add tags_forcelist to constructor.
use pan.config for XML to Python conversion and remove duplicated code.