Question: Why did the nanobots resurrect the Red Dwarf crew?
Chosen answer: They reconstructed Red Dwarf as it was supposed to be, hence going back to the original plans, rather than the cut-down versions that were actually used to build it. A ship without a crew isn't much use, so they brought the crew back as well, possibly using the physical and personality information stored by the ship's holographic recreation unit as a template. How they might have restored the prisoners is another matter, probably best explained by the venerable science-fiction standby of "don't ask, they just did".
Question: If this wasn't supposed to be the last episode, was there any plan on how to explain Red Dwarf's survival, or were they just going to ignore the problem, like they do in "Back to Earth"?
Answer: The original idea was that they would do a feature film which would cover subsequent events, but, despite numerous attempts, they were never able to get it off the ground. By the time Back to Earth aired, years later, it was presumably decided that enough time had passed that it was no longer necessary to address the issue and instead focus on telling an entirely new story.
Question: When this episode was written, did the writers know it would be the very last show? I ask because, apart from the Grim Reaper scene at The End, it doesn't seem to be particularly 'big' or 'climatic' as you would expect the last episode of a long running series to be.
Answer: No, the intent was not that it would be the final episode. At the time, the aim was to follow the eighth series with a full-length movie, before returning to television. Unfortunately, despite many attempts, there have always been problems with obtaining the necessary financing, so the series has never been continued. While the possibility of a ninth series has been discussed on many occasions, no progress has ever been made.
Answer: A cat has six nipples. The joke is that rubbing/feeling them all would be similar to playing a piano.
Gary O'Reilly