Moduli Spaces of Generalized Hyperpolygons