A federal judge has declared the Texas law banning gay marriage unconstitutional, although a stay has been issued to keep the law in place for the time being.