Recovery: swap XY on swipe controls

Devices such as the note 8 have a rotated screen and
need X and Y swapped to function right with swipe controls

Change-Id: I0ee83f9a97f523182dd81a2a349ae5e05ca34fcf
Prohibit mounting/formatting swap partitions in recovery

You can't mount a swap partition, and the recovery doesn't support
formatting one at the moment.  Therefore, ensure that swap partitions
don't appear as useless, confusingly-named entries in the mounts menu.

Change-Id: Iefc33e6b0b09deb9effd2e8a93fb825af4a338a3
Fix verify_root_and_recovery menu selections

Because of the way default_recovery_keys.c is setup, hiding the back
button causes the POWER and SEARCH keys to no longer work as selection
keys.

- Remove old legacy unused code
- Keep the device_reboot_now API if one needs to use it
- Hide the Go Back button from confirm menu

Change-Id: I517690a7b9f85ccc778f2bb6acbf967c1416d1fc
shell pipe: set exit code to error if any pipe element fails

  * this was causing backup state to be reported good while tar command failed

Change-Id: Iaa9728213bbe44a8a8622e2c0ef1ad9548ccabb7
Merge remote-tracking branch 'CyanogenMod/cm-11.0' into cm-11.0