Fix R Lib files and testcase failing due to new preprocessor checks

Fixes unknown preprocessor directive error introduced in #217
commit 255c929c5636f54c16261bd92b8eea2005d61b11
These were probably intended as script comments using # when C/C++
comments using // or /* */ should have been used.
Update changes file
Fix for 'self' being used as a parameter name