whitespace (mostly trailing space)

* Kirill Mueller’s a0e57c6b introduced stricter whitespace formatting rules
  into the Rstudio project.
* the tests were somewhat unusually formatted, so fixed that using rstudio's
  rewrap
Don't warn for missing appname if version is NULL

* if version is NULL we don't need to be warned that it will be ignored
* this was a hurried addition in 8428ce0301 on top of Gabor Csardi's
  a4ef238573