Member Domain

Added a new test scenario for creating a new member and also the logic
for creating the member, the MemberCreatedEvent and also the
onMemberCreated event handler for changing the state.