Refactored the Header Controller and fixed search issue

@hippee-lee @tsanko @kevinsproles Refactored some logic out of the header controller. The snap menu logic for the shopping card is still there, need to see if it can be removed later.