Add 'declareonly' opcode option

Used to generate the opcode enumeration value and the data used
to dump it without adding the opcode to the list of opcoded viable
for generation.
Add declaration for OP_RANGE
ASTify foreach