Updating the membership module to inherit from the TendenciBaseModel

- Membership types could not be deleted

- Issue #329