Refactors Discourse.SearchController to use var self = this; convention
Merge pull request #1875 from velesin/search_controller_context_binding_fix

Refactors Discourse.SearchController to use var self = this; convention