Maryland Gov. Martin O’Malley signed a bill into law Thursday that would legalize gay “marriage” in the state beginning in January 2013, but churches already are mobilizing to reverse it at the ballot.