LPS-39662 Create interface for remote preference and impl for Cookie storage

This allows for greater extensibility and doesn't tie the API to contain only a name and value strings.
LPS-39662 Autogenerated classes