Merge pull request #30 from colinmollenhour/master

Indexing improvements and Javascript refactor
- Fix product active categories count for stores.
- Disable flat catalog during indexing for both: product and category.
- Make category product count more accurate.
Fix handling category status change.
Lock query entity for transaction to prevent FK error while updating search results.
Add "Search failed. Please try again." session message in case of error generated by Algolia.
Merge pull request #31 from sergeykalenyuk/improvement

Improvement
Add missing transaction commit.
Merge pull request #32 from sergeykalenyuk/improvement

Add missing transaction commit.
Skin not existing queries.
Merge pull request #33 from sergeykalenyuk/improvement

Skin not existing queries.
Merge pull request #34 from colinmollenhour/master

Remove useless connection configs.
making it work with composer

Removed gitignore

modified vendor from aligent to algolia
Updated README, first production-ready version
Typo
Typo
Do not display the Category section + 'No results' message if no categories have matched
Close the auto-completion menu when query is empty.
Merge pull request #37 from colinmollenhour/master

Add transport so that custom data may be added to indexed data. Refs #36
Use cookie to save last query.