core: Add some static libraries

 * Add static versions of libdiskconfig and libsysutils for MiniVold

Change-Id: I9ea9498dcff3f094bbcbb1e05e6d10bc9b83ac74
(cherry picked from commit 7400b154c68be6c383d021922da3a7b01b2e7e7a)
Merge tag 'android-4.3_r2.2' of https://android.googlesource.com/platform/system/core into cm-10.2

Android 4.3 release 2.2

(cherry picked from commit b2e3ba15bad3f0083ab23dfaf75fa5108440da7f)
sdcard: Allow building as a static library

 * Split main() out in order to allow linking with a multi-call
   executable such as recovery.

Change-Id: I3325135e47e4dd5af3912f5ce67ec64007d54a63
(cherry picked from commit e26eab2822b676d20f822023b64c9b762bbf5cd0)
Revert "Revert "Fix gr_text() syntax until minui gets updated""

This reverts commit 77fbd1dbf188df9a9812e7053fec6457673e119c.

(cherry picked from commit f2fe015ae5a67381119832ed6920df3680ec8db6)