Plans for the next phase of the Borders Railway which would extend the service from Tweedbank to Carlisle have been given the thumbs up.