Handle keyguard actions and application launch better

 1. Add better multi-user support to application launch
 2. Do not dismiss keyguard on application launch if it has been secured by pin or pattern
 3. Keyguard actions should only be active when keyguard is showing, not just locked and hidden by other activities.
Update ReflectTools to version 2.x