Added support for memberships in profile.

Added support for memberships in the Travellers profile.
This has been tested and is available for merge.

Check test suite for test cases and use cases.