refactor code to remove global variables and optimize
filter and search params are stored in session
add products passed in the product list
Merge branch 'master' into page_tests

Conflicts:
	lib/modules/search_module.rb