Move user actions to membership tool

Prior to refactoring the invitation, login and password setting
processes we move all general purpose and therfore reusable components
to the existing (dedicated) membership tool
Rename tool function for getting external records
Add user invitation to member tool