Make type demangling available in the public API.
Merge pull request #434 from s-ludwig/master

Break out a demangleType function to handle DMD's new JSON output