Classlib: Pspawn resolved a function --> pattern prematurely

"event.pattern" would evaluate "pattern" if it's a function,
without passing the event itself as an argument (which is
standard in other patterns that evaluate functions). So now,
we access the function by .at() and evaluate it later,
with a sensible argument.
sc ide: show impl/ref lookup dialogs even when no text under cursor
sc class library: ClassBrowser: fix search with empty query string

When query string was empty and a method search was performed, ClassBrowser
would wrongly use all classes instead of all methods as results.
sc ide: interpreter: post notification on quit or crash
qtcollider: pass exit code up to SC_TerminalClient
sc ide: sc editor: relax conditions to push closing bracket to next line
sc ide: switch editor type along with document type
sc ide: fix and improve region detection

* Previously, the closing bracket's position was checked twice instead of
  checking the opening bracket.

* Relax opening bracket condition: it should be the first token on line,
  but may be followed by other tokens.

* Relax closing bracket condition: it should be either the last token on
  line or followed by ';'.
sc ide: sc editor: add action to select pair of brackets enclosing cursor
sc ide: add option to highlight entire contents of matching brackets
sc ide: add option to highlight current line
sc class library: replacing the source of a node proxy led to hanging patterns

When the previously added pattern hadn't started, adding a new pattern to a node proxy left the old one hanging. Now add the pattern to the list before it is started.
sc ide: sc editor: update bracket match highlight after applying settings
sc ide: unindent closing bracket even when token-auto-pairing disabled
qtcollider: QTextView: increase 'selectedString' compatibility, fix docs

In Cocoa GUI, 'selectedString' returns entire current line, if there is no
selection. Make Qt GUI do the same.

Moreover, since the above behavior is arguable counter-intuitive, add
'currentLine' method that does what its name says.
sc ide: sc editor: fix vertical cursor movement after entering line break
qtcollider: envelope view: fix drawing of quadratic and cubic curves

Also, optimize drawing exponential curve.

Fixes #784.
sc ide: help browser: delegate docklet focus to webpage view
sc ide: docklet: when focusing, also activate window
sc ide: ensure dock widgets within screen bounds when first undocked

Fixes #730.