Slideshows now use their WordPress ID instead of session ID

This is the first step towards lazy loading slideshows.
Added SettingsProfiles class to start implementing it