Refactor previous currentMessage() into currentContext() and reuse it
for Search controller.
Quick-wrap Search controller as a class and set up a similar callback method
for prepareSearchContext_callback().

Remove Display subs.

Signed-off-by: Norv <a.w.norv@gmail.com>
Allow guests to see quickhelp pages

Signed-off-by: Norv <a.w.norv@gmail.com>
Add countMessagesBefore() function to countMessagesSince().
Still feels like the deja-vu is here... (wasn't there one
for before too, or a combo? lol. Well now it starts to be. :P)

Signed-off-by: Norv <a.w.norv@gmail.com>
Move applyRules() and loadRules() to subs, rename the callback.
(small wip setting up pm controller for further refactoring)

Signed-off-by: Norv <a.w.norv@gmail.com>