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

When "coming back" : we should be on the home screen and not be on an empty search screen