Fixed some bugs in invite - https://github.com/systemapic/systemapic.js/issues/155
Fixed some bugs in invite
- https://github.com/systemapic/systemapic.js/issues/155

mapic/mapic.js,mapic/mapic.js,mapic/mapic.js