[CF-340/CF-345] Productize Preferences Service

  - Added default timestamp for created and updated as the in-memory db for tests need them
  - Added "Unit" as return for the POST method.