Switzerland international midfielder Gelson Fernandes has completed his transfer to Freiburg from Sporting Lisbon.