add some specs for memberships and membership applications
minor type changes
attempting to add some cucumber features
calculate orgs based on selected states. Fixes #140