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 kind and humane cinema. His death is a shocking, senseless end to a remarkable life, writes Adam White