Add unfriend processing in api/views

Unfriending ("query": "unfriend") now works.  Code needs
to be refactored later.