I have a bachelors degree in entomology.
YES inverts do have a completely different nervous system.
NO most inverts are not social/don't have emotions like fear/anger/etc
YES invertebrate animals do feel pain. They will move away from painful stimuli, like heat, sharp objects, etc. and yes they will also react to limb amputation. Sure, their nervous systems are not as advanced as mammals, but they do react to these stimuli.
As for the parasites in caterpillars etc, i would say that is more of a kudos to the parasite than a short-coming of the caterpillar

These parasites attack very specific parts of the insect host, preventing autoimmune responses, hijacking the nervous system
forcing it to keep eating/growing. Many of our captive herps have parasites that never cause a problem/are evident such as low levels of GI invaders, the occasional tick on a wild caught animal... We never say it is because the reptile isn't feeling pain, but rather that the parasite is too sophisticated, and is itself focused on self preservation
There is evidence that bees, ants, and spiders can learn to associate certain stimuli with good things (i.e. if i land on this green platform and stay for 4 seconds food will appear), so it makes sense that they could do the same, and learn to avoid things which indicate negative stimuli (being eaten).
Beyond that, i think every animal on this planet has some degree of get-up-and-go when it comes to predator detection and self preservation.