Move all diagnostic files to own library.

Includes ongoing cleanup of clang code for features note currently
needed