Update - fix for Server Error 500

Only real courses should be able to use this tool.  Need to check the course instance id for numeric and "ci:" prefix numerics.  If the course instance id is non-numeric and doesn't contain the prefix of "ci:", then the user will be given a message that the course is not properly configured with a valid course record.  
I don't really understand what's going on in this and the previous test.