Update assessments.js
Update assessments.js

Added a new function 'listBySharing' which can take a scope variable to limit the results returned by the list function. This connects with the standard entity list route (as updated in the API in a branch with the same name as this one).
FoodLogiQ/foodlogiq-node,ventres/foodlogiq-node