TWRPify: Add parts to build TWRP

Change-Id: I02d1765178dd1b43cf180342a34e3a7c98475bf2
remove SKIP_SET_METADATA board flag.

 This is no longer needed with new TWRP recovery

Change-Id: I9f1e06a4fcde28c71854e18ac369a7d93da142f8
fstab: add length parameter and tweak flags for encryption

Change-Id: I9d3897ae38cfc56ada4edc3697ed5a6dae7bd2aa
fstab: add length parameter for recovery encryption support

Change-Id: Iad3a80f8de4e7ed48472bbae824c2942307bbb2c
TWRP: pkace all recovery files in /recovery/root instead of /root

Change-Id: I42bc6dcce05a7866c0ec25da631bb0ad8532b629
Merge branch 'cm-11.0' of https://github.com/jrior001/android_device_htc_ace into cm-11.0
use cache partition for system app dexopt

Change-Id: I749a10ba5afc84033a4037522a4613529aa48cd4
Fix abd in recovery

Change-Id: I994f85d44412bddd2bfdfa8b7ff53c72ae48c5b2
Merge branch 'cm-11.0' of https://github.com/jrior001/android_device_htc_ace into cm-11.0
ramdisk: fstab: run fsck on cache and devlog too

Change-Id: Ib1a504ac583c2899df6133743a079d5fd9a73d4a
ramdisk: fstab: steal mount options from hammerhead

Change-Id: I45a70ee0782b4ca0aebb1a8116a5b265e1ef70b1
enable Torch high brightness

https://github.com/CyanogenMod/android_packages_apps_Torch/commit/e6f2f35dc6ad97ccac76b96db12a310392eba83f
Fix UMS dirty ratio
init: Add permissions for IO scheduler (mikeNG)

Adapted from https://github.com/LegacyXperia/android_device_semc_msm7x30-common/commit/5e6df8d60f6590e560629b2affd6da5f6a166dec

Change-Id: I86ed2de45c46dfae2d81a3bfe361ee234c720b7b
init: increase boot speed

Adapted from https://github.com/LegacyXperia/android_device_semc_msm7x30-common/commit/bf6a68f34a6980a690c1503c600970444077bbb6

From original commit:

 * Use the noop I/O scheduler while booting.
   This dramatically improves the bootup time. Noop is ideal
   for high-throughput applications on non-rotating storage, but
   is not designed for interactive usage like ROW or CFQ.

Change-Id: I1f0dd35afbc5c4c7533028fe7d00bb178728b50a
enable KSM by default

Change-Id: I987a53ba84a9d378ab92317805ff879ef208fb65
Enable SD eject option

Conflicts:

	overlay/frameworks/base/core/res/res/values/config.xml

Change-Id: I1ed464ad23cc46eb86b6e5e9f7c66bdfc2a67d3a
Revert "init: Add permissions for IO scheduler (mikeNG)"

This reverts commit df0ad3bef83745de099e077c01ebbb41006f517d.

Not needed.
init: remove boot speed tweak from sdcard

Change-Id: Ic004650cdb585669b03a9caa6a6c14fa4f84e837
init: switch back to sio iosched after sys.boot_completed=1

Change-Id: I61db1de63f9b6b6d5fd1b867602b8c899c0fd272