Overlay: Add Direct3D 11 support

* Based on an initial patch by Benjamin Jemlich
* Effects11 code based on changes by nyet

Cleaned up, direct3d 11 related changes only from the previous pull request #177.