feature(endorsements) add http client library
feature(endorsements widget) move calls to get product, endorsement reasons, and endorsement counts to its own endpoint