Feature/github tweaks

Separate pull requests and issues, handle the date range properly, use auto-paginate and generally simplify the code.

Also add docs.