10452  CTFE: Cannot compare delegates with == or 'is'

http://d.puremagic.com/issues/show_bug.cgi?id=10452

Delegate expressions weren't being interpreted properly. And delegate comparison wasn't implemented at all.
The tests here cover many more cases than are in the original bug report.