Merge pull request #25 from sergeykalenyuk/improvement

Improvement
Merge pull request #26 from sergeykalenyuk/improvement

Reindex category after changing category additional attributes.
Merge pull request #27 from sergeykalenyuk/improvement

Minor improvements
Merge pull request #29 from sergeykalenyuk/improvement

Dispatch events before indexing products and categories.
Do not create indexes for disabled stores. Remove unnecessary search result resets.
Optimize search results query/saving.
Fix invalid parameter.
Fix empty insert.
Only highlight name attribute.
Refactor javascript out of template file.
Merge pull request #30 from colinmollenhour/master

Indexing improvements and Javascript refactor