StayAwake Toggle : Avoid Loss of User Setting

Should disable the tendency to revert to 30
        second timeout if SystemUI dies
        while stayawake is enabled

PS2: Fix

Change-Id: I42e0edb96eeccce690481df1a0cd6e4767ac486e
fix for auto-close 3-dot menu

Change-Id: I0fb0414f565696b810a8375005b9cb4702bdb600

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java