Adding the tenant domain appending for users controller. Removing unnecessary check from invite function in groups.
Merge branch 'rc2' of github.com:WSO2Mobile/mdm into rc2