Added crude TMX validity check

TMX parsing code now actually checks for "TMX0" magic string, and if
it's not found at the expected address, scans the file for it; fixes
reading of TMX files with additional data before the header