move toggleWithToggler from window to Zentyal namespace
moved Zentyal.MenuSearch from template to common.js so it could be cached by the browser