Fixes saving categories for selection products multiple times, optimizes the number database requests
Optimizes index rebuild performance and fixes tests
Merge pull request #369 from nsendetzky/master

Fixes saving categories for selection products and optimizes index rebuild performance