Added MoodleRestCall class
Cleanup of test code in MoodleSiteInfo