As the director behind classics including ‘When Harry Met Sally’, ‘Stand by Me’ and ‘The Princess Bride’, the filmmaker proved himself an expert in creating astonishingly warm and humane cinema that envelops you like a hug. His death is a shocking, senseless end to a remarkable life, writes Adam White