changed order of else in mdadm to fix resync information.
sort in join_status

the hash order may be different, at least it is in perl 5.18 than in 5.8
and 5.12
fix -W option handling #29
add test data from #24 and #28
add comments to test data
Merge branch 'pr28'
mdstat: updated status messages in tests
mdstat: corrected test status codes
commit expected test result. #24
Merge branch 'upstream/master'