support stand-alone wikis, and clean up old spanWidth (needed before adaptive layout)
fix existing tests
new tests
Merge pull request #793 from jay-hodgson/stand-alone-wikis

SWC-1161: Support stand alone wikis