fixed Torrent constructor to correctly check for required keys
changed requiredKeys name