Add back Utils we had in kitkat

Don't know original authors

Change-Id: I3eb5a15d0c4d9bc8eae6ac7239eb829df518917e
(cherry picked from commit 81b1bd87b9d9fb47e04fc6ba08ec79e2a8c7dd0b)

Conflicts:
	src/com/android/settings/util/Helpers.java