fix(dropdown): Added support for class directives in the dropdown component

Added support for class directives in the dropdown component. The component currently supports attribute directives only.