Add getBoolean and putBoolean functions from AOKP.

Change-Id: I9f6da41c412719df591c802170dd5abc1f4b5961