Add missing QCOM variables

Change-Id: I17afac4966cef0b0d2c0df748dc6da73bbe22448
Allow a device to define the max number of service groups in init.h

Certain proprieatary binaries (such as tcmd for instance) require
more than 12 supplementary service groups.  By definiing:
TARGET_NR_SVC_SUPP_GIDS := in BoardConfig this can now be changed
per device.

Signed-off-by: dhacker29 <davidhackerdvm@gmail.com>

Conflicts:
	init/Android.mk

Change-Id: Iab853836a028147c051be21e39575635cb463dd1
init: Fix memory corruption when sanitizing platform paths

This commit fixes code that incorrectly increments s when it
hits the terminator character of the string being sanitized.
This means it will randomly start trashing memory beyond the
end of the string being sanitized until it happens to hit two
NULs (\0\0) which will break it out of the loop.

Change-Id: I76553d7f183236a78a0bc7b408e92559b98f732f
core: Always define NEEDS_VECTORIMPL_SYMBOLS for host build

This ensures the host version of libbcc.so builds consistently, so that
the same host binaries may be used for building both devices that do
and don't define this flag.

Change-Id: I38f313c503c7a255e1c9f6eb46a41fd7b4510895
init:  Add support for init.target.rc.

  Forward port of 42e62abe32ba5819ade4dec0b95e4d847b5d67ff
  from cm-11.0

Change-Id: I3ffd07ff84b08f0307ebc6429f0976621dd9560e