build mid_safecontrol module

Change-Id: I96fa4e4f639f5d674be818ebd5094b59022a6c8b
Merge branch 'cm-10.1' into martincz