Frameworks: Ability to Enable/Disable the Lid Controlling Sleep.

  * Include logic so that if the lid does not control sleep
    it will not control unlocking of the device.  This prevents
    the case of the lid not waking the device, but unlocking
    the device.
  * Still allows the use of Smart Cover window.  Even if lid
    is not set to control sleep, waking the device with the
    Power button will display the Smart Window information.

PS4: Add import android.view.WindowManagerPolicy & Fix Build - Thanx Davor ;)

Requires: http://gerrit.aicp-rom.com/#/c/3240/

Change-Id: I83d96696fefedc19fc3bce7265a4fcf2d4c894bc

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