Fix check_md_raid to work with debian wheezy

The output of current mdadm versions changed a bit, adding trailing spaces and a new string when doing a resync of an active raid (it's done automatically every month)
This patch covers both issues.
Merge pull request #5 from aseques/patch-2

Fix check_md_raid to work with debian wheezy