Implement UI for leaving a community; #902

This adds a "leave" link to the communities listing on the profile page
with a confirm box. Under the hood I refactored the js ahead of also
providing join/leave functionality via UI on the community pages
themselves.
Bump version to 8.1.5
Bump version to 8.1.5-dev