Make many changes to pass R CMD CHECK

Delete files that aren't needed, add Rinstignore, comment out examples
that shouldn't be run, make namespaces explicit