Improve project import error handling

* tolerate Unicode BOM (FEFF)
* handle other errors from the xml-mapping parser
* report errors from project load
Handle xml mangling by xml-mapping