Calculate lifetime for each pull request

Now actually calculate the lifetime in minutes of each
pull request.
Fix merge conflicts