[libqofono] Store own retry count if necessary and use PinType values in pinRequired & lockedPins

- Store a per-SIM retry count in case the SIM does not provide this
- Fix pinRequired & lockedPins properties to report values using
  PinType enum instead of string identifiers.