R: get.edge(s) api update, #710

Add head_of, tail_of. Need to decide if they should return
igraph.vs or not.