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).
Merge pull request #7 from FoodLogiQ/list-by-shared

Update assessments.js