made the required exam grades work by ID to avoid issues with formatting. The old saved ones will still be checked for textual match. Fixed small bug on changing the required grade when selecting new exam

git-svn-id: https://plugins.svn.wordpress.org/namaste-lms/trunk@1000709 b8457f37-d9ea-0310-8a92-e5e31aec5664