Adds custom animation to tooltips & popovers

Implements #13622.
```javascript
$('.logo').tooltip({
  animation: 'animated flipInX'
});
```