base: wait for system ready before calling button timeout

Else we will get a NPE

Change-Id: I529230c8655f6f55358ac206d8df0527e733799c
Merge remote-tracking branch 'cm/android-4.4' into android-4.4