add restartApp function
update doc strings
Merge pull request #65 from rstudio/feature/restart-app

add restartApp function