added spec and implementation for auto-closing old memberships on creation of a new one
tests passing for closing a user's open memberships on creation of a new one