fix js syntax
Add tables
	modifié:         core/lib/Thelia/Model/Base/ProductDocument.php
	modifié:         core/lib/Thelia/Model/Base/ProductDocumentQuery.php
	modifié:         core/lib/Thelia/Model/Base/ProductImage.php
	modifié:         core/lib/Thelia/Model/Base/ProductImageQuery.php
	modifié:         core/lib/Thelia/Model/Base/ProductSaleElements.php
	nouveau fichier: core/lib/Thelia/Model/Base/ProductSaleElementsProductDocument.php
	nouveau fichier: core/lib/Thelia/Model/Base/ProductSaleElementsProductDocumentQuery.php
	nouveau fichier: core/lib/Thelia/Model/Base/ProductSaleElementsProductImage.php
	nouveau fichier: core/lib/Thelia/Model/Base/ProductSaleElementsProductImageQuery.php
	modifié:         core/lib/Thelia/Model/Base/ProductSaleElementsQuery.php
	modifié:         core/lib/Thelia/Model/Map/ProductDocumentTableMap.php
	modifié:         core/lib/Thelia/Model/Map/ProductImageTableMap.php
	nouveau fichier: core/lib/Thelia/Model/Map/ProductSaleElementsProductDocumentTableMap.php
	nouveau fichier: core/lib/Thelia/Model/Map/ProductSaleElementsProductImageTableMap.php
	modifié:         core/lib/Thelia/Model/Map/ProductSaleElementsTableMap.php
	nouveau fichier: core/lib/Thelia/Model/ProductSaleElementsProductDocument.php
	nouveau fichier: core/lib/Thelia/Model/ProductSaleElementsProductDocumentQuery.php
	nouveau fichier: core/lib/Thelia/Model/ProductSaleElementsProductImage.php
	nouveau fichier: core/lib/Thelia/Model/ProductSaleElementsProductImageQuery.php
	modifié:         local/config/schema.xml
	modifié:         setup/thelia.sql
Add route to associate
	modifié:         core/lib/Thelia/Config/Resources/routing/admin.xml
	modifié:         core/lib/Thelia/Controller/Admin/ProductController.php
Add image/document association button on prices tab
	modifié:         templates/backOffice/default/includes/product-prices-tab.html
Refactor modal
	modifié:         core/lib/Thelia/Config/Resources/routing/admin.xml
	modifié:         core/lib/Thelia/Controller/Admin/ProductController.php
	nouveau fichier: templates/backOffice/default/ajax/pse-image-document-assoc-modal.html
	modifié:         templates/backOffice/default/includes/product-prices-tab.html
	modifié:         templates/backOffice/default/product-edit.html
Add error handling and delete FKs to prevent SQL errors
	modifié:         core/lib/Thelia/Action/Product.php
	modifié:         core/lib/Thelia/Controller/Admin/ProductController.php
	modifié:         core/lib/Thelia/Model/ProductImage.php
	modifié:         templates/backOffice/default/includes/product-prices-tab.html
	modifié:         templates/backOffice/default/product-edit.html
Add document association modal
	modifié:         core/lib/Thelia/Controller/Admin/ProductController.php
	modifié:         templates/backOffice/default/ajax/pse-image-document-assoc-modal.html
	modifié:         templates/backOffice/default/assets/css/styles.css
	modifié:         templates/backOffice/default/assets/less/thelia/thelia.less
	modifié:         templates/backOffice/default/assets/less/thelia/variables.less
	modifié:         templates/backOffice/default/product-edit.html
Add tests and fix cs
	modifié:         core/lib/Thelia/Config/Resources/routing/admin.xml
	modifié:         core/lib/Thelia/Controller/Admin/ProductController.php
	modifié:         core/lib/Thelia/Core/HttpFoundation/JsonResponse.php
	modifié:         core/lib/Thelia/Model/ProductImage.php
	modifié:         core/lib/Thelia/Model/ProductSaleElementsProductDocumentQuery.php
	modifié:         core/lib/Thelia/Model/ProductSaleElementsProductImageQuery.php
	modifié:         core/lib/Thelia/Tests/ContainerAwareTestCase.php
	nouveau fichier: core/lib/Thelia/Tests/Controller/ProductControllerTest.php
Merge pull request #594 from lovenunu/pse-image

Add association between product_sale_elements and  product_image/product_document
Merge branch 'master' of https://github.com/thelia/thelia
Merge pull request #596 from lunika/master

Fix js syntax in order-delivery template
update tionymce position. fix #588
fix missing billing address on wrong coupon code submission. Fix #544
Merge branch 'master' into module-hook

Conflicts:
	setup/insert.sql
	templates/backOffice/default/assets/css/styles.css
	templates/backOffice/default/includes/product-prices-tab.html