[oozie] Skip global configuration in 0.4 workflow definition when importing

Fix a few encoding issues as well