Tidy up tod.cpp
Use better EOF checking in TOD files

Having to put ZZZZ at the end of the file was pretty stupid seeing as
we have feof()...
Use stricmp() in CTimeOfDay::ReadTODFile

strupr() is bad anyway.