external: Refactor setup script.

Add generic script for RAID-5 and other setups, remove old RAID-5
script.