Refactored code for searching and getting Page.
Merge branch 'saveFilter' of https://github.com/nghiank/ComOn into saveFilter

Conflicts:
	public/js/controllers/catalogListCtrl.js
Fixed bugs and added karma tests for saving filters and adding a custom type.