The comic side of romance — flirtation, misunderstanding, and the happy ending, from Austen’s wit to Wilde’s sparkling stagecraft.