Dlang parser improvements

Added 'dkind' constructs for the D language parser. This allows better customisation of the parser, similar to the Java one. I've also beefed up the simple d unit test.