God (aka Yahweh) did have a wife. Her name was Asherah. (Possibly also known elsewhere as Astarte/Aphrodite). Jeremiah calls her the Queen of Heaven, and he wasn't at all happy that the people worshipped her as well as Yahweh. She wasn't Jesus' mum though. She was off-loaded long before Jesus' time.
http://www.classicalhebrewblog.com/2008/05/25/ married-deities-asherah-and-yahweh-in-early-is raelite-religion/
Mary wasn't a surrogate mother. A surrogate mother is just a vehicle and hands the child to someone else to rear once its born. Mary was the 'natural' mother of Jesus, and reared him, but it's the father's identity that's highly questionable. As Lonnie says, if Jesus was indeed of the line of David, then Joseph had to be the culprit which means that Jesus was simply an ordinary man, and never was divine.
Incidentally, the bible, very early on, mentions the sons of God who mated with the daughters of man, so perhaps Yahweh did have children with Asherah - but that, again, was long before Jesus' time.