code style fixes
remove `rp` prefix for rp.label and rp.name
remove links to nonexported rapport:::rapport.read to satisfy R CMD check
grDevices is not needed any more (pander)
as graph.R was ditched, no need for lattice globally
import from yaml instead of dependeing on it
import from stringr instead of depending on it
move stat helper functions to separate package for modularity