Bluetooth MAP (Message Access Profile) Upstream Changes (2/3)

PORTED FROM CM10: http://review.cyanogenmod.org/#/c/26393/

Incorporates updates to the Bluetooth MAP profile from Code Aurora's
Android Enablement Project since we initially pulled in from their
gingerbread to CM7 last year. This patch addresses bugs with the
current MAP profile, adds a UI request for message access approval
when pairing, and adds additional error checking and logging.
Confirmed to fix date and "Download" function of Ford SYNC Gen1.
Pulled in from the codeaurora jb branch.

Change-Id: Ie35067f389ced8e86433a991776b4a8e1f1ce963
Settings: Add support for variable size pattern lockscreen (Part 2/2)

Part 1: http://review.cyanogenmod.org/#/c/28533/

Forward port of: http://review.cyanogenmod.org/#/c/20614/

Add a menu to choose the pattern unlock screen size (currently 3x3 to 6x6)
Default size is specified in the frameworks

Patch Set 1+2: Initial port

Patch Set 3: Use AOSP code style

Patch Set 4: Fix copy/paste issue

Patch Set 5+6: Comply with framework changes

Change-Id: I5e3d1f8b19b7f5017c854ab9d28b459214f00949