Use first sentence in description for method summaries, if no summary set.

For methods with no summaries, use first part of description.
This is probably better implemented as a plugin in jsdoc, I now
realise, but I need it now, and this works.
Also: Adds css classes for some elements, and sets them up in the
default stylesheet.