Move hooks and install scripts from mdadm to mkinitcpio
In an effort to consolidate most hooks in the mkinitcpio repo, let's merge the hooks from [mdadm](https://archlinux.org/packages/core/x86_64/mdadm/).
/cc @tpowa
issue
Due to an influx of spam, we have had to require each new account to be manually approved. Please register an account and then write an email to accountsupport@archlinux.org to get it approved. Sorry for the inconvenience.