:#12 Member order is now preserved

The enumdef and generator classes now preserve the enum member order
both during parsing and generation

Conflicts:
	generator.cpp