Running out of time, Detroit gambles on municipal bankruptcy and casino money