Themes: Fix -110 install error [1/2]

aapt was being called from PM with a ' ' at the end of the cmd. This would
cause installd to read unexpected parts of memory which sometimes
causes it to parse the command incorrectly.

Change-Id: Id9f1170db05b40f030d6ea5009bed38bc9fc3b5f
Avoid calling idmap w/ trailing whitespace [2/2]

installd performs a buffer over-read if trailing ws is sent to it.
No observable effect found yet for idmap, but until installd is
fixed upstream, best to play it safe.

Change-Id: I002de7a9d177df16f91b47e7f87af59457c1f421

Conflicts:
	cmds/installd/installd.c
Revert "Avoid calling idmap w/ trailing whitespace [2/2]"

This reverts commit 5c357a82e9d28f65224bb82699baf52462c4ffc7.
Merge branch 'kitkat' of https://github.com/LiquidSmooth/android_frameworks_native into liquid-nozomi