Bug 1007979 - Refactor nsSearchSuggestions into a reusable JSM. r=adw

Original JSM by mconnor.