Fixed more uses of rde_stack_get. Generally switched (int) to (long int) in more places. Updates tests, internal generated PEG parser.