Update Direct3D 9 depal and fix blending

Blending was not being turned off, which was causing at least some of the problems.

It's still not working correctly but I'm thinking it may be bgra stuff now.  It's not working more sanely now.

These are the commits that are not from the master merge:
3342eb8
f4ced76e52610a
74e0b2b79d102
0cd100ece7a5d (this is the merge, contains minor conflict resolution)

(I can split this into two pulls or just push the merge/rebase directly if you prefer.)

(NOTE: this is a pull to dx9-depal, not master.)

-[Unknown]