remote: unify the creation code

The create function with default refspec is the same as the one with a
custom refspec, but it has the default refspec, so we can create the one
on top of the other.
Merge pull request #2683 from libgit2/cmn/remote-unify

remote: unify the creation code