Researchers have conducted the first ever trials of smart pills that can measure intestinal gases inside the body, with surprising results revealing some unexpected ways that fiber affects the gut.