Update for pacman 4.1 API changes.

API CHANGE:
 * The usedelta property of class Handle is no longer a boolean
   but a float property called deltaratio.
Add missing ALPM_EVENT constants.
Fix conversion error.

alpm_time_t is an int64_t, so use PyLong_FromLongLong.