Fix issue #387

* add new DirReader which treats possible exceptions
* update XmlEntitySplitter to cope with equal named nested entity names
* add test and test files

<!---
@huboard:{"order":393.0,"custom_state":""}
-->