D: Improve how cmake's tests check for D

* Add an option to force D tests to run
* Mirror CheckFortran.cmake instead of using enable_language()