Rename RefClass to R6Class
Update tests to use R6Class
Fix test
Update documentation to use new names