Add Remote#Ls.

Allow filtering heads by name.

@carlosmn you were right, It was way easier to implement everything in go land.
Let's not expose any C types, but accept the direction type from before.