Settings - add an AlertDialog before to delete APN to avoid fails

patch 1: fix blank space
patch 2: remove FR translation and change NegativeButton string
patch 3: improve the NegativeButton (thank you, David)
patch 4: remove create()

Change-Id: I3361d4160a7e1c4eaee094f08c7d212f71e9e0e7
Utils : Fix tablet orientation logic

Tablets have orientations for portrait reversed, this commit addresses it.
Add in a few more orientation-aware safety checks to circumvent certain devices
whose default orientation does not match their device type.

Change-Id: Idc627e687ca61ab29f08433664bf77148424bd6d
Revert "Settings: Add support to enable/disable Electron Beam (2/2)"

This reverts commit 4dd3635619bc37a3865b9fd85c18324b5cf76726.

Conflicts:
	res/values/cm_strings.xml
Floating window (2/2)
This is the setting part for the framework commit. This is a simple checkbox that allows the user to not make use of the floating window function seen in conjunction with PA's Halo feature. We are taking a different route on that Halo stuff and this is a very early start of it.
Show application's package name in the "App info" screen.

Change-Id: I7dac8ffa0b10abb5ff235750e90a96d801b2f919
[2/2] Add triggers to change profile based on AP

Add UI for configuring triggers to active profiles.

Change-Id: I4903ef64d3eced687136a7dcf4d2048ce4b7ca63
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1

Conflicts:
	res/values/strings.xml