corrected API and added snippet and unit test for
ShareFileWithCommunities
change for Community File unit tests
Merge pull request #682 from VineetKanwal1/FileServiceJSChanges

Corrected API for ShareFileWithCommunities and added snippet and unit test