memory: add ksm toggle option

KSM seems to be a very promising feature (when rightly
configured), so add it to the feature list.

Since its such a little change, set on boot functionality
is done in this commit.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
helper: shell: make thread usage optional

setRootInfo() is often used when executing an array.
Since profiles and per app profiles share the same
backend which runs in its own thread, its not necessary
to make the root-operation threaded as well.

Furthermore simplify both methods a bit.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
misc/handler: remove 2D array

I wasn't satisfied with the previous solution and since
i have a couple of other things planned, remove the 2D
array.

Also moving in the error handling if a file doesn't exist
directly into the preference handler to show only actual
existend parameters.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>