getOnlyLeafReader

Some tests expect the directory to contain a single segment, and want to do tests on that segment's reader. This is an utility method to help them.