Generalizing the Mahlo Hierarchy, with Applications to the Mitchell Models