OR-832 Change the data structure of the members community property
OR-832 userIsCommunityMember really checks if user is a community member
OR-832 refactored ObjectId parameters using a middleware

This ensures that the parameters we got from REST API are correct MongoDB ObjectID
Merge pull request #592 in OR/rse from ~MBAILLY/rse:OR-832-change-communties-member-property to master

* commit '6057c711d3c95724aad15d4b809aeed20bd86e4b':
  OR-832 refactored ObjectId parameters using a middleware
  OR-832 userIsCommunityMember really checks if user is a community member
  OR-832 Change the data structure of the members community property