Implement sync of category references on products. Closes #5.