refspec: add direction accessor
remote: add resfpec list accessors

Bring back a way of acessing the git_refspec* from a remote.

Closes #1514
remote: fix a leak when dwim'ing refspecs
Merge pull request #1520 from carlosmn/nth-refspec

Add refspec list accessors