Dropdown callbacks: closed, opened

Based on @alettieri work (https://github.com/zurb/foundation/pull/302), I added two callbacks on the dropdown:

- opened: Callback made when the dropdown is fully displayed, the activeClass is added
- closed: Callback made when the dropdown is fully hidden, the activeClass is removed

I also refactored the code a bit to have a open and close method.