MuseScore 02/07/2015: tests for rebuildMidiMapping() #2

I found and fixed a bug in code of tests that changes the order of Parts. I added another test case, so for now I have two test cases with changing the order of Parts.
I added tests for MusicXML read/write and fixed another bug with MusicXML import.