[ticket/11768] Whitespace, typos and other stylistic changes

PHPBB3-11768