Add features for reporting on aging pull requests

Also a few cleanups with code organization.