Generate unique indexes for new styles attachments form

Fixes #3940
move gemspec in spree core forward
Spree.user_class class variable accepts a symbol value

Fixes #3930
Merge remote-tracking branch 'upstream/2-0-stable' into 2-0-stable