Added connection tests to confirm that the moodle configuration to drupal works, and drupal is providing data back to moodle correctly
added error detection for 406 - unsupported request - responses to fix the jsonp service configuration problem
adjusted the 406 fail message to show the parser errors as well
added a detection for api version mismatches for user/login endpoint resources
bringing in updates since last merge

Merge branch 'master' into sync_script_pagination