Sharing: only enqueue styles and scripts when necessary

Previously Sharedaddy included its JS and CSS files on all pages, even if the buttons were not actually displayed. With this pull request, we check if the buttons are displayed before to enqueue the files.