Add in loop category-tree the order argument
fix #533

fix error in form if pse.quantity = 0 and PSE_CHECK_AVAILABILITY = 0
$pse.quantity.val() is initialized to 0

and fix in category page
if PSE_CHECK_AVAILABILITY = 1 and stock = 0  display 'view product'
button
Merge pull request #641 from zzuutt/fix-'check_available_stock'

fix #533
Merge pull request #618 from zzuutt/add-order-argument-in-category-tree-loop

Add in loop category-tree the order argument
Define the token provider
	modified:   core/lib/Thelia/Config/Resources/config.xml
	modified:   core/lib/Thelia/Config/Resources/smarty-plugin.xml
	modified:   core/lib/Thelia/Controller/Admin/AbstractCrudController.php
	modified:   core/lib/Thelia/Core/Template/Smarty/Plugins/UrlGenerator.php
	new file:   core/lib/Thelia/Tools/TokenProvider.php

Fix templates and controllers
	modified:   core/lib/Thelia/Config/Resources/config.xml
	modified:   core/lib/Thelia/Controller/Admin/AbstractCrudController.php
	modified:   core/lib/Thelia/Controller/Admin/LangController.php
	modified:   core/lib/Thelia/Controller/Admin/ModuleController.php
	modified:   core/lib/Thelia/Controller/BaseController.php
	modified:   core/lib/Thelia/Core/Template/Loop/ProductSaleElements.php
	modified:   core/lib/Thelia/Tools/TokenProvider.php
	modified:   templates/backOffice/default/administrators.html
	modified:   templates/backOffice/default/ajax/product-related-tab.html
	modified:   templates/backOffice/default/ajax/template-attribute-list.html
	modified:   templates/backOffice/default/ajax/template-feature-list.html
	modified:   templates/backOffice/default/attribute-edit.html
	modified:   templates/backOffice/default/attributes.html
	modified:   templates/backOffice/default/brands.html
	modified:   templates/backOffice/default/categories.html
	modified:   templates/backOffice/default/category-edit.html
	modified:   templates/backOffice/default/content-edit.html
	modified:   templates/backOffice/default/countries.html
	modified:   templates/backOffice/default/currencies.html
	modified:   templates/backOffice/default/customer-edit.html
	modified:   templates/backOffice/default/customers.html
	modified:   templates/backOffice/default/feature-edit.html
	modified:   templates/backOffice/default/features.html
	modified:   templates/backOffice/default/folders.html
	modified:   templates/backOffice/default/languages.html
	modified:   templates/backOffice/default/messages.html
	modified:   templates/backOffice/default/modules.html
	modified:   templates/backOffice/default/orders.html
	modified:   templates/backOffice/default/profiles.html
	modified:   templates/backOffice/default/shipping-configuration-edit.html
	modified:   templates/backOffice/default/shipping-configuration.html
	modified:   templates/backOffice/default/taxes-rules.html
	modified:   templates/backOffice/default/templates.html
	modified:   templates/backOffice/default/variables.html