base: added national roamning

http://jira.omnirom.org/browse/OMNI-869

Users of MCC 272 MNC 11 can roam on MNC 02

Change-Id: I70dd2efe7e3bd11e3e33ff40f66bf75a0b586aa5
[1/2] Base: DownloadManager: add support pause/resume/stop notifications

Add pause, resume and stop functions to make user can pause, resume and stop downloads by manual in downloads application.

Change-Id: I82ffff5a539448faab8933e2b47591199bf24cb9
Fix HTC headset handling.

HTC's headset driver adds additional bits to the switch state, which
we're unable to deal with. Fix that by masking out those bits and
keeping only the valid ones.

Based off: https://gerrit.omnirom.org/#/c/5500/

Original author retained :)

Change-Id: I1abca665488e89f76eae97c4aab86bd51afd2a19
Fixup pin-layout on sw320dp-hdpi and sw320dp devices

Based on: http://review.cyanogenmod.org/#/c/57557/

Note: Though this commit seems to have been already picked here: https://github.com/omnirom/android_frameworks_base/commit/b3904d3255f3ec620f317d7d39b195dcda77c9ba
I don't think it was fully picked :|

Change-Id: I13893069102b82ae74169b51863ccf76b863a380
[2/2] Base: Active Display add shake event

- use better sensor event listener
- added option to bypass Quiet Hours (default now is not , that is 'privacy is first' decision)
- added option to configure time between shakes
- added option to set disable timeout
- added option to run like "PA PEEK"

Change-Id: Iabd42517a4e9df82e9cf653359104303667e43be
[1/2] base: added settings for flip camera activation

Change-Id: I4674364780ba28d7fb296c969a084244430a91aa
[4/8] Base: Theme engine

Parts of patch authored by: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Nothing of this would be possible without Josh, Ed,
and the rest of the TMo guys who wrote and maintained it until 2.2:

Amit Chabra <amit.chabra@t-mobile.com>
Amit Kohli <amit.kohli@t-mobile.com>
Chris Cogar <chriscogar@t-mobile.com>
Dirk Sigurdson <dirk.sigurdson@t-mobile.com>
Ed Carrigan <edward.carrigan@t-mobile.com>
Gaurav Sharma <gaurav.sharma3@t-mobile.com>
Hui Feng <hui.feng@t-mobile.com>
John Ritz <john.ritz1@t-mobile.com>
Josh Guilfoyle <josh.guilfoyle@t-mobile.com>
Mark Roberts <mark.roberts48@t-mobile.com>
Pankaj Kumar <Pankaj.kumar6@t-mobile.com>
Samuel Cheung <samuel.cheung@t-mobile.com>
Sergey Ten <sergey.ten6@t-mobile.com>

Major contributions by Marten Kongstad <marten.kongstad@sonymobile.com>

Change-Id: Ie1cbb9c0506ce382ba0acfb06ad8afc19f4169c5