Create kp-lens angular module for emitPYTHON and safeApply

Moved lens specific javascript into an angular module named kp-lens
Updated sample apps to use kp-lens module