read-prefs: implement read preference scoring.

This will result in nodes that can be sorted by score before being
selected.
read-prefs: implement getters for read prefs.