add jlog API for pending readers that notes earliest reader.
use API to optimize jlog_clean.
mirror the jlog_clean optimizations
Merge branch 'master' into MTEVerest