Save config code updated.
Saving configuration now supports xintensity, rawintensity, cl-filename, gpu engine and memclock exit/disabled values, through both ncurses interface and API. Shaders setting is also being ignored if it is set to zero - first device setting tested only.

Additionally save config function does not save the kernel setting is disabled if scrypt is set to true. This prevents the following issue: https://github.com/Kalroth/cgminer-3.7.2-kalroth/issues/6