device/samsung/jf-common: ss.config handling / global function changes

Change-Id: I289cf82afec1d0a73514ec9a1ec9aad9829597b4
device/samsung/msm8960-common: merge with jf-common

Change-Id: Ife086608d062857f2c398c7192e5dc13bc2451ae