Secure screenshot and screenrecord

* Partial port-forward of Screenshot toggle
* Creates an android:permission for both screenshot and screenrecord,
  as well as corresponding Intents. This disallows rogue apps to access these
  methods in PhoneWindowManager ( takeScreenshot() and takeScreenrecord() ) and
  hijack our system, by locking them down to System and SystemUI with said permissions.

* This is required for the Screenshot toggle, and reimplementation of screenshot navbar action.

Change-Id: I4adac71a0ce924de96c9a7d495b42ae68441e4ad
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Add screenshot to Power Menu

PS3: Fix whitespace
PS4: Fix order of imports
PS5: Rebase

Change-Id: Ife783d4c0a47b8d24f949d4dd77141038658b21f
Screenshot Toggle

PS 3: Rebase
PS 4: Rebase

Change-Id: Ie5bdd6834a3ce4c2d2fba9bff3cce220b16ada14
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Screenrecord Toggle

* Secured with secure intent

Change-Id: Ib545d915d961e07f9a22378c8f7e5beccd5b4e1e
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Merge "Secure screenshot and screenrecord" into kitkat
Merge "Add screenshot to Power Menu" into kitkat
Merge "Screenshot Toggle" into kitkat
Merge "Screenrecord Toggle" into kitkat
Merge branch 'aokp/kitkat'

Conflicts:
	policy/src/com/android/internal/policy/impl/GlobalActions.java