Parameterised multicore

Set the number of cores via LOCAL_MINERS. Results queue is just a
multiplexer, but FIFO would require changes to virtual wire protocol.