Move some common Twig macros from WebBundle to ResourceBundle.

Fixes #1841.
mmmm... Code like this should not be on ResourceBundle, that's Sylius's specific code, ResourceBundle must be independent for use in other projects without unnecessary code... any macro related to UI should be stay on WebBundle or UIBundle (my personal opinion)