Detroit's historic bankruptcy filing — already thrown into turmoil by a Michigan court Friday — has ignited a largely uncharted legal front in the closely watched battle between public employee unions and governments across the country struggling to meet costly pension obligations.