Repair paydays and add self checks (fixes #204).
Rename branch.sql to repair.sql.
Merge pull request #1902 from gittip/repair-paydays

Repair paydays and add self checks (fixes #204).