Feature/program preference

StateStore - https://issues.cask.co/browse/CDAP-395
Bamboo : https://builds.cask.co/browse/CDAP-DUT321
Is this thread safe? Is this transaction safe?