Reorganize the events order like the documentation

All events after "END SHIPPING ZONE MANAGEMENT" missing in the documentation -> todo list for me ;)
Merge branch 'master' of https://github.com/thelia/thelia
Remove blank line and extra whitespace on line ends
Another whitespace at line begin
Fix format number zero return empty string instead of zero
Wysiwyg hook should be enabled by default
Fixed hook name
Merge pull request #749 from Boyquotes/master

Reorganize the events order like the documentation
Fixed SQL exception whic occured on duplicate coupon code
Merge pull request #752 from roadster31/fix-resources

Fix wysiwyg hook
Considered lunika comments
Moved misplaced constants to AssetResolverInterface
Added AssetResolverInterface and implementation
Factorized asset manipulations in SmartyAssetResolver
Added AssetResolver implementation
Passed the AssetResolver to the constructor
Hooks are now using the AssetResolver.
Moved asset resolution code into SmartyAssetResolver
Fixed comments, added debug messages
Fixed comments, directory separator usage, clarified code.