Don't add a space before a space when created the segmented string.

Could also prevent a space at the end of a string.
Added a note about how to create fully formed HTML.
Properly handle ngram searches in Simplified Chinese.
Properly handle ngram searches in Traditional Chinese.