Campaigning Via LPs: Solving Blotto and Beyond