Dart documentation URL fixes.
NPE in DartDocumentationProvider and minor optimization