Introduce Link Time Optimization

Summary:
This introduces the following improvements:
  - Can be globally enabled with TARGET_ENABLE_LTO := true
  - Can be locally disabled with LOCAL_NO_LTO_SUPPORT.
  - Host modules now build without LTO by default.
  - Modules built with clang no longer need -fno-lto specified locally (LTO disabled here automatically)
  - Modules built with clang no longer have -fno-toplevel-reorder unnecessarily set.

http://pastebin.com/FaxSUzVy

ps5: don't enable it by default because of poor device support
ps6: make additional clang ignores lto-dependant
ps7: fix caucasian space
ps8: turn off section anchors when LTO is on (fixes "cc1plus: error: section anchors must be disabled when toplevel reorder is disabled")

Signed-off-by: bart452 <bart_96@live.nl>

Change-Id: I17ea1d46cf1ba9bace70acd89a80143060f3bc31
img_from_target_files: Create md5 hashes for each file

Generate an md5sum-fastboot.md5 file that contains an md5 hash of each
file in the fastboot zip and store the file in the zip.

Change-Id: I19c2ac5a84fb21e965953d1dad0ebcbfd0b78d47
[DO NOT MERGE]build: fix renderscript header inclusion

- to build frameworks/rs with the prebuilt clang

credits to @xboxfanj for the idea

Change-Id: Ifb79d60840bdd8e8dbf5a50cf73b4ae4082e4c3a
Signed-off-by: bart452 <bart4524@gmail.com>
releasetools: Properly handle custom values for tools

Rather than writing these values to their own files, store them
in the target_files META/misc_info.txt. This way, we don't need to
download and parse through multiple files when using signing/release
tools.

Change-Id: I6f845fc055e4ef2ed4adf9628cca505e99b2a9fa
build: restore order to the universe... or at least non-clang renderscript includes

Change-Id: Ie6a4a0fd5c207ef55ac1797efa806d56d050fe68
build: add  -funsafe-loop-optimizations to unknows clang flags

- not supported by clang

Change-Id: I280d57a94b2d45b66ef6efaa42d28d822d9b2d2e
Merge branch 'bootzip' of github.com:bart452/build into bootzip

Conflicts:
	core/combo/TARGET_linux-arm.mk
	core/llvm_config.mk

Change-Id: I86680b6bedcefd25d174eda8f0a6de436f46a540