idgames_file_map: better check for HTTP request/parsing errors

- Removed duplicate variable definition (my $parse_type)
XMLParser: fix POD, remove errant paste of random code
JSONParser: close #31; JSON object parses and returns File objects