Some code improvements (test coverage, CodeNarc review)
Fixes #5. add a friend from his profile page
Fixes #18. delete a friend from the current user page