Bug #49463 - Make templates customizable across Sugar.

I was asked to move the button row for the advanced search form to be placed above the search fields. But this is not easily done with the current core code base because it does not look to see if there is a custom override.

This commit fixes this issue.

_____
**Update:**
We've decided to apply a solution that addresses this problem across the core code base.