refactored membership helper methods out of project and event controllers into a module

Signed-off-by: Peggy Griffin <seishingithub@gmail.com>