property_service.c: adding support for getprop and listprop

Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Fix failure to build from source with modern _host_ glibc/gcc.

One should not define __USE_GNU directly, and instead _GNU_SOURCE
should be defined as early as possible, before first (indirect)
inclusion of features.h

Change-Id: I4d109d4fa0c3d266b873d2a0a66a52e1a4faa234
Signed-off-by: Dmitrijs Ledkovs <dmitrijs.ledkovs@canonical.com>
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Link adb with -ldl. (Cherrypick from AOSP)

Signed-off-by: Dmitrijs Ledkovs <dmitrijs.ledkovs@canonical.com>
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Merge branch 'phablet-10.1' of git://phablet.ubuntu.com/CyanogenMod/android_system_core into phablet-10.1