Minor API consistency work on CommunityService JS

This is regarding API consistency work on CommunityService. I have just passed memberId instead of member object for removeMember operation. also add a wrapper method getId for invite class. I have modified the showcase sample to accomodate this change and verified that its working.

Unit test cases executed : CommunityTestSuite. No regressions found.