* Split constant opcode validation out of idUsage and into validate_constants.cpp * minor style fixes * reduced duplication * fixed an issue with array sizing