Replace exit for return

Exiting from a sourced script causes the shell to exit. Returning will result in the desired behaviour.
Merge pull request #286 from koenpunt/patch-1

nvm.sh: Replace exit for return