Correctly handle stylesheets instead of concatening them.

Parsing would fail if one of those stylesheets had a header.

Also:
  Only setup and load stylesheets once.
  Add @page, @namespace, needed for many books converted by Calibre.
  Suppress whitespaces generated by buggy Kate syntax file.