Move more utility classes from libcore to libnativehelper (part 1)

Change-Id: If51679ea9d97ed405d07fb7ccf26489f59ef208d
7 files changed