Check if _className is defined before applying in Drawer.Element

Previously, we blindly attached the class, which would attach the
CSS class "undefined" to elements.
Merge pull request #1221 from palantir/element-drawer-class

Check if _className is defined before applying in Drawer.Element