A Cosheaf Theory of Reciprocal Figures: Planar and Higher Genus Graphic Statics