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.  
changed text to "This Canvas course site has not been properly configured, as it is not associated with a valid course. Please contact support for help."