fix $apply exception on showSidebar
make pageup key trigger fetch more lines
index: be extra careful to escape space in order to avoid uncollapsed space with white-space:pre
Merge pull request #489 from ailin-nemui/sidebar-apply-ex

fix $apply exception on showSidebar
Merge pull request #490 from ailin-nemui/pgup-fetch-lines

make pageup key trigger fetch more lines
Merge pull request #491 from ailin-nemui/escape-whitespace

index: be extra careful to escape space in order to avoid uncollapsed space with white-space:pre
some scrolling updates
improve countwatchers with a comprehensive debug page output
support direct html colour specs in client messages
Add support for explicit fromnick in protocol messages where availiable

This can replace the prefix-nick-guessing where available.
Support host-rendered time

If available, display the time as rendered by the host instead of own
calculation
ignore empty messages received on websockets, which may be used as pings
Add ID to lines

To support protocols with line removal, remember line IDs.
skip non-existant buffers when handling nicklist message, they may already have been closed
Add more nicklist update operations

Implement the changegroup and rename commands for the nicklist.
Make it easier to switch protocols

This commit introduces a new module to switch the protocol. It will
look at a protocol=xxx query parameter (like the debug mode) to do so
show active protocol name on the front page banner
make the websocket mountpoint protocol dependent
add handling for protocols that support skipLines in line retrieval
Implement challengeauth login mechanism

Some protocols only support login via challengeauth and not via
PLAIN. This adds support for this mechanism.