Update - fix for Server Error 500

Only real courses should be able to use this tool. Non-numeric course instance id will be displayed a message that the course is not properly configured with a valid course record.  
Test cases had been updated, see latest