Make repository_age() "history rewrite safe"

Change commit date to author date, so that the repo age doesn't change if history rewriting tools (such as amend, rebase, filter-branch) are used.
Merge pull request #179 from qur2/patch-1

Make repository_age() "history rewrite safe"