libcommon|SaveSlots: Added a C wrapper API for SaveSlots and made use of it