Make pie being dependent on expanded desktop optional (1/2) - SlimBean

Squashed commit of the following:

commit 8a2a369b662053233e6ac97a6bf92b6ff0827920
Author: nuclearmistake <nuclearmistake@gmail.com>
Date:   Sun Apr 14 13:22:16 2013 -0400

    Make pie being dependent on expanded desktop optional (1/2)

    Change-Id: Ife95659031118291fe9b718d6ca755fa2322d441

commit f7f2395294e5b25e28bdcb9bd707eef23c5d7b24
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Thu Apr 4 21:39:57 2013 -0400

    Tie pie events to expanded desktop

    remove an unnecessary content resolver and settings observer. Also disable pie in ontouch events
    unless expanded desktop is on. this fixes the accidental triggering issues on keyboard/navbar and
    frees up some resources/cpu when not in use.

    ps2: Use an observer to update expanded desktop status
    ps4: UpdateSettings during start

    Change-Id: Ia4451df0b81c8db060afe09a6a4fa636dd5b9b3c

Change-Id: I120f598055e65868acfe6d73cd078d8e0bc358c9

Conflicts:
	core/java/android/provider/Settings.java