Fix problems with thread creation on some devices

This fixes a problem with not reaching the backup completed page
after a backup is complete on certain devices (GNex, Note2).
Changing the stack size to 512KB seems to be the actual fix but
leaving the other changes in place as they may be helpful or are
better practices.
ORS engine fixes

Fix backup to not error when a non-existant partition is given.
Fix restore to run when no partition parameters are given.
Ensure that ORS runs after decryption and that zips install.
Fix a problem with the fake internal sdcard not mounting to
/sdcard on data media devices.
Fix problem with AOSP wipe_cache command
Add sideload command for ORS
Save version to cache
Improve ORS sideload to display GUI with cancel button
Move backup folder creation to after free space calc

Also fix free space calculation
Fix handling of blkid output

Fixed handling of blkid output when the output spans multiple
lines and the TYPE field ended up on next line.
change fuse to be compiled with TW_INCLUDE_FUSE_EXFAT
update exfat_fuse to newest updates
Always compile mkexfatfs
Remove sockets and FIFOS when removing files
Merge "Remove sockets and FIFOS when removing files" into twrp2.4
move libexfat and fuse to be compiled with mkexfatfs
change tar create to pthread

Change-Id: I5a33d207ec6683de20da37e6f4f174c67785fc52
Disable USB Mass Storage if the USB lun file does not exist.

Change-Id: I185edb4538fa84c17fc2b9a803557bb7a622f880
Output most build flags to log

Change-Id: I28f62236c5d5fa882cb5c05973ebf84da006b9ff
Convert AOSP commands to ORS for encrypted devices

Change-Id: I6a76a51cd9efd7db67d7abeeb26f9bdd0eebf5a9
Use GUI for ORS instead of console only
adding sideload page with wipe cache and dalvik

fix variable
Change-Id: I72eed7b4d709a184e53cc94165a1817a7dcf041e
Fix file manager displays empty list when folder is deleted
Merge "Fix file manager displays empty list when folder is deleted" into twrp2.4