Revert "Patch Set 2/2: Add an "Automatically Connect" option for WiFi networks"

This commit breaks 3rd party apps like Tasker.  It is being reverted until a better solution can be found.

This reverts commit 3d3d0a374d3c2194701a8be4a2d926f47576f5fa

Change-Id: I31689838ec8be4aa33036ea75794cfbb7a69d109
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/
Performance: BootReceiver: set CPU min/max freqs before CPU governor

When setting certain combinations of CPU governor/freqs on boot , the
max frequency needs to be changed first in order for some settings to
work correctly.
Example: changing from a default governor of ondemand and frequency
of 1GHz to interactive governor and 1.2GHz frequency , hispeed_freq
will get stuck at 1GHz unless the max frequency is set prior to the
governor.

Change-Id: I302739893470ec0fa27197c122ebed4795347d61