Method to determine number of pages to be returned

Also, refactoring required to support this method.
Stop retrieval early when searching for single items in collections
Watchers work faster if order of pages is reversed
Making things explicit
Paged retrieval of repository commits

This is to avoid using excessive amounts of
memory when processing large repositories
Support for disabling the cache
Quick and (very) dirty log analyzer
Use thread to print results every second
Sorting of columns, refresh time_in through printing thread
Set default transaction level to uncommitted

Sacrifice a bit of transaction ordering for many less deadlocks.
As the work load is mostly append-only (updates are extremely
infrequent) this does not have any significant issues in data
consistency.
Consistency in log messages
Merge branch 'master' of github.com:gousiosg/github-mirror
Add fake column to users to mark fake users

This is to make it easier to exclude users that
where inserted as fake accounts to link commits
from users whose Github account does not contain
the commit email.
Fix retrieval of organization members
Make retrieval of forks an option when retrieving repos
Don't try to update PR actor if we don't have one
Default parameters for project retrieval
Use new ensure_repo parameters
Update users' "fake" field en masse
Merge pull request #5 from gousiosg/master

latest from upstream