Add a method to retrieve the number of days left in the user certificate

Required by https://github.com/dmwm/CRABClient/pull/4004