add table_name to fix "order created_at" exception error

Fixes #3305
Fixes #3309

Conflicts:
	core/app/models/spree/order.rb