Just my two cents - for the record, I am a current LDS member and believer.
Going back to the question in the OP - was David's polygamy OK or not OK with God, I suppose that you have to ask God to find out. However, in the context of the question, which looks at scriptural texts, its not really about what God thinks, but rather about how you can reconcile the scriptural texts. I don't think you can actually reconcile the Book of Mormon text with the D&C. I think you can explain the issue, and talk about why there is a contradiction, but I don't think you can actually harmonize them, and I don't think that there should be a real need to do so.
Jewish culture has had a very difficult issue with this same question. The reasons are in some ways very similar (as are the results). The Jewish conflict stems from the fact that David and Solomon both had many wives, but, this fact conflicts with Mosaic Law in Deuteronomy 17:17 (a part of a piece of text called the Kingship code). This part of the Old Testament denounces the king having "many wives". What was an acceptable number? It varied widely in rabbinic interpretations, but, eventually, the number settled on was four (not wanting to make Jacob/Israel a sinner in this fashion - even if Mosaic Law postdated Jacob/Israel).
The classic example of how Jews at the time of Jesus dealt with this problematic issue can be found in the Damascus Document (found both in the Dead Sea Scrolls, and in the Cairo Genizah). The specific passage there reads this way (it's part of a commentary on Noah and his ark):
As to the prince it is written, "He shall not multiply wives unto himself" but David read not in the Book of the Law that was sealed, which was in the Ark. For it was not opened in Israel from the day of the Death of Eleazar and Joshua and the Elders who worshiped Ashtareth. And it was hidden and was not discovered until Zadok arose. But they concealed the deeds of David save only the blood of Uriah.
In other words, even though the commandment was for the king not to have many wives, David did. And the excuse is that the Book of the Law (which refers to Deuteronomy - where the Kingship Code is found), was not available to David - it was hidden in the Ark, and wasn't discovered until Zadok found it. Of course, given the other issues, the Dead Sea Scrolls text still finds fault with David over the issue of Bathsheba.
This actually is surprisingly similar in some ways with the passage in D&C 132:9, where David is justified for his many wives - except of course for the wife of Uriah - it reads in verse "in none of these things did he sin against me save in the case of Uriah and his wife".
Next up, we get at some point, a ban on polygamy among the northern european Jews - following Gershom's ban (about 1000 A.D.). This ban suggested that polygamy was no longer acceptable, and that the sandal ceremony was now required. Up to this point, polygamy was required under certain circumstances by the Law of Moses (levirate marriage). Gershom's ban was rejected by southern european Jews. This was almost certainly a culturally related issue. In northern europe, polygamy was not generally allowed. Where Muslims held sway, it was, and so that was in many ways the reason for the split. Gershom's ban was later elevated through legal rulings called takanot until it was held to be equivalent to the Law of Moses. Those who opposed Gershom's ban did so on the grounds that it superceded Moses in the case of Levirate marriage, and placed restrictions on the command to multiply from Genesis. Under some later interpretations, if your wife did not have children after a certain amount of time, you could be required to divorce her and marry another woman (avoiding polygamy that way) as opposed to earlier traditions of simply taking a second wife. I am of the opinion that the Book of Mormon is addressing a similar kind of situation (a similar kind of argument) when Lehi decides to eliminate polygamy. The Book of Mormon seems to be responding to these same kinds of arguments.
Now to answer the question. I am not sure that God is opposed to polygamy. I don't think God necessarily promotes it either. I believe that any relationship (monogamous or polygamous) which is abusive, demeaning, or otherwise harmful to women is morally wrong (and this is what God opposes). With this kind of definition in mind, I believe that its easy perhaps to justify something - to use the phrase from the D&C - David didn't sinned against God in doing what he did, without answering the question of whether or not God approved of it. If we believe that the family unit is as important as we do, then I think that we cannot believe that David adequately met the needs of his many wives. I also think that early LDS engaged in polygamy because they saw it as part of the "restoration of all things" and believed that in doing so, they were hastening the second coming. They did not use Jacob 2:30 as a defense for their polygamy until long after the practice had begun (it was essentially an apologetic argument at that point).
Working on the assumption that the Book of Mormon is a translation of an ancient record, I would suggest that Jacob is using the Old Testament to defend Lehi's commandment of monogamy - and that in doing so, he assumes that the Kingship Code reflects a genuine tradition from Moses. Whether that assumption is right or not, Jacob uses it to contradict those who want to hold up David and Solomon as examples of appropriate behavior (or even behavior that wasn't a sin against God).
So, as I noted, the contradiction exists. And I think it exists because of the larger body of scripture having challenges. The Law of Moses clearly required polygamy in some circumstances. I am not sure we should take that as a ringing endorsement from God of polygamy either.