Added config sanity check

Check if same number of devices is reported by cgminer and the local
config.