[2/2] Native: Speed up booting on multicore devices

- Add multithreading support to Installer/installd

Change-Id: Idd7d1b1d68c2480a2ba519501916b2b62221889e
Revert "[2/2] Native: Speed up booting on multicore devices"

This reverts commit 282b7b9d03e863dab95d4ae037e67b4533afdfc9.

Change-Id: Ie78528c94b37b58e6526c6ba9d5ef898935e6a5b
Configure dalvik heap parameters for low memory devices

Reduces after boot memory footprint by about 5-8MB
Note: This is for low memory based devices only (~512MB RAM
or less)

Change-Id: Iac45854aff687189e56f97da96e05d38adf842bf
C++11 Fixes.
C++11 string literal fixes.

GCC 4.9 now just throws errors on these rather than warning like previous GCCs.
frameworks/native: Fix toroplus radio with CFLAGS

This is a commit to fix the LTE radio on toroplus,
since the binaries contain a broken reference to
an old no longer existent object. This fixes that
with a CFLAGS to be enabled in the .mk files of the
toroplus device files (like BoardConfig.mk).

Credit for the original fix goes to
Sean McClenaghan (cyberkitsune09@gmail.com)
http://review.cyanogenmod.org/#/c/47134/

PS 2-3: forgot some stuff in the commit message

Change-Id: I2c0f05d1f70b96ad801971f23f6f9cf4e0fa7167

Conflicts:
	libs/gui/Android.mk

Conflicts:
	libs/gui/Android.mk
	libs/gui/SurfaceComposerClient.cpp
Unbreak libgui

Change I2c0f05d1f70b96ad801971f23f6f9cf4e0fa7167 broke libgui for a
bunch of pre-4.1 blobs by changing the surfaceclient API, so bring
it back

Change-Id: I1f6ce3b886539d0e972bbe41116192bf162be968