[Translation] Added some tests to QtFileLoader.

Added one test for testing exception is thrown if resource is not local.
Added one test for testing exception is thrown if xml resource is invalid.
Fixed coding standards issues.
Fixed coding standards issues in invalid-xml-resources.xlf file.