Repo, Issue, Gist and Account equality

Still a work in progress but I'm opening the PR for having it reviewed
and discussing the implementation.