MB-9128:  Mere selected changes from EXP branch, put sanity test
          funtions in jenkins-specific module.

Change-Id: Ifd35acc3f09e1c5c34ce3937f8d3617acc18c77c
MB-9128:  Put sanity test funtions in jenkins-specific module.

Change-Id: Idc8b456bbc0d7cafbc68811381b0908a5e75981c