Support search menu

I added some changes to support search menu, plus some minor changes:
    - show a 'magnifier' icon on the left
    - setMenu() api can be used to set a menu, when the magnifier icon is pressed
    - try to use clearIcon from theme
    - add 'text' property