Improve the API for memberships

- Add update method
- Fix XML structure (role_ids as array)
Merge pull request #31 from mjanser/improve-membership-api

Improve the API for memberships