Add more detailled configuration for OpenCL use, and make OpenCL default to on

Add a boolean whether to use OpenCL for just a subset of functions, and a
numberical minimum length of a cell group for OpenCL to be used. No
functionality or GUI for this yet implemented, just the setting fields.

Make whether to use OpenCL default to "on". Sure, this breaks stuff right and
left for now. Fixes and workarounds later.

Change-Id: I09b7aff9c7d1845df2bf01f09616e646373f030c
Avoid crash

Sure, this is probably "defensive coding" and the root cause is my other
changes...

Change-Id: Ia888921fddc48dc022a3205c7e0abc7e2160cf5c
Add a setting for what subset of functions we use OpenCL for

Change-Id: I9ecea99a921a9230fa80f813627db6cdf7ed5875
Don't use OpenCL unless the group is long enough

Change-Id: I37d54e39186fca2653717bb364072a2b283bcfb9
Don't use OpenCL unless the function is in the subset we support

Change-Id: I6c6fcc492f338cd8994bbc781bbf71abb6bf5057
Indent the generated OpenCL a bit saner

Change-Id: Ie180d47558bdb9496ef55e39652f33ef52d1addb
Add also parameters for the opcode subset to enableOpenCL()

In CppunitTest_sc_opencl_test we want to explicitly disable subsetting and use
OpenCL maximally, to match how it used to work.

Change-Id: Ie900adb5fa58b7cd1111169e44efd70d8cac5256
Check also unary and binary operation opcodes for presence in subset

Change-Id: I316ebdb017d512e72d0ad15a847802bca0e15814
More work on the new OpenCL options

Now the new options show up in the "Detailed Calculation Settings" dialog and
are saved and restored from the per-user configuration.

The code that manipulates the "Detailed Calculation Settings" dialog is quite
ugly with all its manual hiding and showing of widgets depending on which
detail it is that is being edited. This also means that the dialog cannot be
designed using Glade. But no time now to re-work this.

Change-Id: I03a3a51d902084e73aab5a787b588d22ea7578f2
Intermediate commit: start on whitelist/blacklist of OpenCL implementations

Change-Id: I5a6ef8f5e428ec4e62b3fdac8fe3e63f0ae58f1b
Bin unnecessary variables

Doing .ui "manually" is not *that* verbose;)

Change-Id: Ide50258174e86cc94975a33c5c0e5c663ae8d77c
D'oh, it's oor:separator. Thanks to dtardon for pointing it out to me

I guess it would be futile to expect some warning at run-time about an
unrecognized attribute.

Change-Id: I04ccaa6df8ec932f747384486174c1fd23eb110a
Fix non-dbgutil build where OpCode is sal_uInt16 and not OpCodeEnum

Change-Id: Ie88b0b23b7b6f688f920f5aadcf711ba15602686
Bin unused "description" labels

Change-Id: I8710b698904d5c89644633bb53b78a95dcef7d7b