I agree with commonsense. Have couples, heterosexual or homosexual get a state issued civil union certificate that cover all legal issues. Have a religious facility issue a marriage certificate if the couple meet their requirements. No more marriage licenses. The state is responsible for civil unions and a "church" is responsible for marriages.
More information about formatting options