Artists, essayists, lawyers, bloggers and others deemed to be online troublemakers have been hauled into police stations and investigated or imprisoned for “picking quarrels and provoking trouble,” a charge that was once confined to physical activities like handing out fliers or organizing protests.