[TIMOB-15282] Setup searchBar heirarchy only when required
[TIMOB-15281] Set up correct autoresizing masks for searchField
Merge pull request #4717 from vishalduggal/timob-15282

[TIMOB-15282] Setup searchBar heirarchy only when required