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