Improve notification shade collapse code.

- Collapse after dismissing the last notification
- Avoid duplicate code paths for collapsing
- Improve variable naming according to AOSP review suggestions

Change-Id: Ic6f26a61f263c5beebbcc9725fe8914d3858576f
Navbar: add spacer to lightsout layout

This will align the lightsout buttons with the normal ones.

Change-Id: I9a3008ae8f16f35efc595d2a2f1d07a3eef47c29
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Framework: Fix Sound/Phone Settings FC

If the user deleted their default
    vibration pattern, the log spewed
    the catch exception along with
    cursor not closed errors.
    Fix cursor (close in catch too)
    And set default back to default.

PS3: Guidelines

Change-Id: Ib0c8b4c7d541e407bee219d78014512d2903f176
Merge pull request #36 from PAC-man/cm-10.1

Cm 10.1