add --auto-irq feature

Use the device name in the .json file to lookup the associated
IRQ. Setting options ignores the IRQ numbers passed in the json
but depends on 'name' being set correctly.