restapi: added support for ksm control

Change-Id: I44b992bd2bb69ff0d7996b029249a787dc266617
Bug-Url: https://bugzilla.redhat.com/1026980
Signed-off-by: Jiri Moskovcak <jmoskovc@redhat.com>