From seizures to tics, can illness be all in the mind? Psychosomatic illnesses have long been something of a mystery – but now neurologist Suzanne O’Sullivan is unravelling their secrets