Move extern(C) declaration below import declaration due to an unfiled DMD bug.
Sort imports alphabetically.
Move brief documentation to the top.
Begin work on exporting enum members globally for easier use and porting of C samples.
Add missing extern(C) in the graph module.