Dartdoc preview fixes (WEB-12805).

Fixes to address issues enumerated here: http://youtrack.jetbrains.com/issue/WEB-12805