Added D API

Because D links against C natively, the binding is super simple. All you need to do to use the binding is link against the implib, and include the DLL next to your exe.

`gen_d.py` is just a fork of `gen_cs.py`, because the syntaxes are very similar.