no need to expose the documentation to users; expose registerShinyDebugHook to R so that R CMD check does not complain

per discussion in #258, and closes #259
roxygenize
Merge pull request #262 from yihui/r-check

synchronize doc