mtd: use new MTDIOC_SETSPEED ioctl

set SPI speed to 10MHz
mtd: added "mtd readtest" and "mtd rwtest"

this allows for verification of MTD operation on startup