Making sure the xml imported file is correctly formatted


Completes https://github.com/joomla-projects/com_localise/pull/161

To test try to import an xml with an error in it, for example a missing >
```
 <title my title</title> 
```
Then export a package xml you made with com_localise and Import it