Wi-Fi: Manage Wi-Fi AP priorities

AOSP has a basic LRU priority for Wi-Fi networks (last connected has more priority).
This changes added the ability of graphically set the priority of any of the configured
Wi-Fi networks through Settings -> Wi-Fi -> Advanced Settings -> Wi-Fi priority.

Patchset 2: Move WiFiPriority from cyanogenmod folder to wifi folder
            Remove double quotes in SSID name
Patchset 3: Fixed code issues

Change-Id: Ief590e799cdb7ef760b631d0b22d9719f867393f
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Add option for switching between UMS and MTP/PTP mode. (2/2)

Change-Id: I6cf50a41a9a82e40e702f5231ce663636c149613

This adds support for switching between UMS and MTP/PTP.
Settings part (this part) adds option in USB settings (statusbar/notification drawer) for enabling UMS,
and adds setting in Storage menu to enable / disable UMS, this since the USB settings page disappears when enabling UMS.

It's only porting this http://review.cyanogenmod.org/#/c/21115/
Merge remote branch 'cyanogen/cm-10.1' into mr1-staging