Fullscreen/bh — pull request #46 by claudiob (2014-11-06 23:59:58+00:00)
Title: Reduce dropdown overhead

Before this PR, including `bh` in an app would include more methods
than necessary for dropdowns: methods like `dropdown_div_class` or
`dropdown_list_class`, that should only be accessed privately.

This PR extracts those private methods into a new Button class
that includes all the business logic to render elements and edit
attributes (e.g., attach classes), leaving the helper cleaner.

---

Also allow `dropdown` to display full-width buttons

If dropdown is called with `{layout: :block, groupable: false}` then
the dropdown button will occupy the full width of its parent.