Added listener when sleeping for search bar to deactivate Bug 1028668 r=vingtetun

Use case : 
-type something in the search bar from the homescreen
-wait for the screen to turn off or lock the device with the sleep button