Merge branch 'release-1.12.0a12' into devel
Fix: title not escaped in the header part of combination page.
Do not crop the title for combination page.
Merge branch 'fix-combine' into devel
Forbid insert sub-page name with leading spaces.
Variable-ize the filename of attached file.
Centralize sbCommonUtils.stringTemplate().
Use validateFileName to pre-exclusivly process bad filename characters, instead of forbidden afterwards.
Escape possibly used attribute or html content.
Add back sbCommonUtils.escapeFileName to prevent broken URL.
Move control chars escape from escapeFileName to validateFileName.
Also escape \x7F
":" "/" "?" are not valid filename char.
Space prefix is not allowed filename.
Merge branch 'fix-attach-file-name' into devel
"!" "~" "`" ";" are allowable filename chars.

Conflicts:
	modules/common.jsm
Reduce several filename replacing rules into "_".

Conflicts:
	modules/common.jsm
Preserve "&". Note: we now have to escape HTML entities for URLs in an HTML attr.

Conflicts:
	modules/common.jsm
Preserve spaces but remove leading spaces (urls with "/ file.html" points to "/file.html"; leading spaces will be truncated on file moving/copying in Windows)

Conflicts:
	modules/common.jsm
Preserve "%". Note: now we have to encode uri for "%##" pattern in URLs.